rockchip: make boot_rkimg.c as basic mandory code
boot_rkimg.c is the basic code for rockchip platforms, such as get boot devtype, setup download mode and get kernel dtb, etc. CONFIG_RKIMG_BOOTLOADER actually makes no sense for rockchip features any more, but we still leave it to compatile code compilation since there is a lot of code depends on it. but it maybe dropped in the future. Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iab922cbf3a70e7eb1444678d6e902b9d8e106dd1
This commit is contained in:
parent
85f87933fd
commit
aa1eec08bb
|
|
@ -546,14 +546,10 @@ config SPL_MMC_SUPPORT
|
|||
default y if !SPL_ROCKCHIP_BACK_TO_BROM
|
||||
|
||||
config RKIMG_BOOTLOADER
|
||||
bool "Support for Rockchip Image Bootloader boot flow"
|
||||
default n
|
||||
bool "Support for Rockchip platform features"
|
||||
default y
|
||||
help
|
||||
Rockchip use this to boot Android during development cycle and for
|
||||
other OS, typical content kernel.img with zImage/Image, boot.img and
|
||||
recovery.img with Ramdisk, packed with 'KNRL' header; and resource.img
|
||||
with dtb and uboot/kernel logo bmp, vendor storage for custom info
|
||||
like SN and MAC address.
|
||||
Actually this is a compatible configure for code compilation.
|
||||
|
||||
config RKIMG_ANDROID_BOOTMODE_LEGACY
|
||||
bool "Support set androidboot.mode with legacy rule"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_TPL_BUILD),)
|
|||
# we can have the preprocessor correctly recognise both 0x0 and 0
|
||||
# meaning "turn it off".
|
||||
obj-y += boot_mode.o
|
||||
obj-y += boot_rkimg.o
|
||||
obj-y += board.o
|
||||
obj-y += chip_info.o
|
||||
obj-y += iomem.o
|
||||
|
|
|
|||
|
|
@ -127,10 +127,6 @@ ifdef CONFIG_CMD_DTIMG
|
|||
obj-y += image-android-dt.o
|
||||
endif
|
||||
|
||||
ifndef CONFIG_TPL_BUILD
|
||||
obj-$(CONFIG_RKIMG_BOOTLOADER) += boot_rkimg.o
|
||||
endif
|
||||
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
# This option is not just y/n - it can have a numeric value
|
||||
ifdef CONFIG_FASTBOOT_FLASH
|
||||
|
|
|
|||
Loading…
Reference in New Issue