Kconfig: fit: add options for loading kernel in SPL

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ice46bc2e457bb8d421d9002057ee0f00af229da8
This commit is contained in:
Joseph Chen 2020-07-22 17:52:43 +08:00 committed by Jianhong Chen
parent 569a1737e3
commit 3d94fb2890
2 changed files with 15 additions and 0 deletions

10
Kconfig
View File

@ -362,6 +362,16 @@ config SPL_SYS_DCACHE_OFF
Disable SPL dcache. Please make sure CONFIG_SPL_SYS_MALLOC_F_LEN
is large enough to malloc TLB and bd_t buffer while enabling dcache.
config SPL_FIT_LOAD_KERNEL
bool "Support load kernel FIT in SPL"
help
Support load kernel FIT in SPL accordding to platform selection.
config SPL_FIT_LOAD_KERNEL_SECTOR
hex "Sector address to load kernel in SPL"
depends on !SPL_LIBDISK_SUPPORT && SPL_FIT_LOAD_KERNEL
default 0xa000
endif # SPL
endif # FIT

View File

@ -207,6 +207,11 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
Partition Type on the MMC to load U-Boot from, when the MMC is being
used in raw mode.
config SPL_MISC_SECTOR
hex "Sector address to load misc in SPL"
depends on !SPL_LIBDISK_SUPPORT && SPL_FIT_LOAD_KERNEL
default 0x8000
config SPL_CRC32_SUPPORT
bool "Support CRC32"
depends on SPL_FIT