linuxOS_AP06/device/rockchip/common/configs/Config.in.boot
2025-06-03 12:28:32 +08:00

40 lines
1.0 KiB
Clojure

#
comment "Android-style boot image depends on linux kernel"
depends on !RK_KERNEL
menu "Boot (Android-style boot image)"
depends on RK_KERNEL
config RK_BOOT_IMG
string
default "zboot.img" if RK_BOOT_COMPRESSED
default "boot.img"
config RK_BOOT_COMPRESSED
bool "compressed boot image (zboot)"
default y if RK_CHIP_FAMILY = "rv1126_rv1109" || \
RK_CHIP_FAMILY = "px30" || RK_CHIP_FAMILY = "px3se" || \
RK_CHIP_FAMILY = "rk3036" || RK_CHIP_FAMILY = "rk3128h" || \
RK_CHIP_FAMILY = "rk312x" || RK_CHIP_FAMILY = "rk3229" || \
RK_CHIP_FAMILY = "rk3288" || RK_CHIP_FAMILY = "rk3308" || \
RK_CHIP_FAMILY = "rk3326" || RK_CHIP_FAMILY = "rk3358"
if RK_USE_FIT_IMG
config RK_BOOT_FIT_ITS_NAME
string "its script for FIT boot image"
depends on RK_USE_FIT_IMG
default "boot-tb.its" if RK_BOOT_COMPRESSED && \
RK_CHIP_FAMILY = "rv1126_rv1109"
default "zboot.its" if RK_BOOT_COMPRESSED
default "boot.its"
config RK_BOOT_FIT_ITS
string
default "$RK_CHIP_DIR/$RK_BOOT_FIT_ITS_NAME"
endif # FIT image
endmenu # Boot