diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-12-30 19:39:59 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-21 22:01:35 +0300 |
commit | 22eb1526d4a619fc0095947b54f87317a55e911f (patch) | |
tree | bc730838362cfd18fe7f2e013702517ec27d20c0 /configs/am3517_evm_defconfig | |
parent | 434075393d7c41457662d996418e5acd0f3da0cb (diff) | |
download | u-boot-22eb1526d4a619fc0095947b54f87317a55e911f.tar.xz |
spl: Convert SYS_MMCSD_RAW_MODE_KERNEL_SECTOR to Kconfig
Falcon mode is very useful in improving boot speed. A question that
Falcon mode asks is "Where do I look for the kernel". With MMC boot
media, the correct answer is CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR.
The scope of this patch is to move this to Kconfig.
It is possible for a system to support Falcon mode from NOR but not
MMC. In that case, mmc_load_image_raw_os() would not be used. To
address this, conditionally compile mmc_load_image_raw_os() when
SPL_FALCON_BOOT_MMCSD, instead of SPL_OS_BOOT.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Move spl_start_uboot to its own guard in spl_mmc.c, rerun migration]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/am3517_evm_defconfig')
-rw-r--r-- | configs/am3517_evm_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 75e6589a25..a38dd4ba37 100644 --- a/configs/am3517_evm_defconfig +++ b/configs/am3517_evm_defconfig @@ -27,6 +27,8 @@ CONFIG_SPL_NAND_ECC=y CONFIG_SPL_NAND_SIMPLE=y CONFIG_SPL_NAND_BASE=y CONFIG_SPL_OS_BOOT=y +CONFIG_SPL_FALCON_BOOT_MMCSD=y +CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700 # CONFIG_SPL_POWER is not set CONFIG_SYS_PROMPT="AM3517_EVM # " # CONFIG_CMD_IMI is not set |