spl: Convert SYS_MMCSD_RAW_MODE_KERNEL_SECTOR to Kconfig
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 30 Dec 2021 16:39:59 +0000 (10:39 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jan 2022 19:01:35 +0000 (14:01 -0500)
commit22eb1526d4a619fc0095947b54f87317a55e911f
treebc730838362cfd18fe7f2e013702517ec27d20c0
parent434075393d7c41457662d996418e5acd0f3da0cb
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>
61 files changed:
README
common/spl/Kconfig
common/spl/spl_mmc.c
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_defconfig
configs/am335x_igep003x_defconfig
configs/am335x_shc_defconfig
configs/am335x_shc_ict_defconfig
configs/am335x_shc_netboot_defconfig
configs/am335x_shc_sdboot_defconfig
configs/am335x_sl50_defconfig
configs/am3517_evm_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_rtconly_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/am57xx_evm_defconfig
configs/devkit8000_defconfig
configs/display5_defconfig
configs/display5_factory_defconfig
configs/dra7xx_evm_defconfig
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
configs/igep00x0_defconfig
configs/imx28_xea_defconfig
configs/imx6dl_mamoj_defconfig
configs/imx6q_logic_defconfig
configs/imx6qdl_icore_mipi_defconfig
configs/imx6qdl_icore_mmc_defconfig
configs/imx6qdl_icore_rqs_defconfig
configs/omap35_logic_defconfig
configs/omap35_logic_somlv_defconfig
configs/omap3_logic_defconfig
configs/omap3_logic_somlv_defconfig
configs/omap4_panda_defconfig
configs/omap5_uevm_defconfig
configs/riotboard_defconfig
configs/syzygy_hub_defconfig
configs/vyasa-rk3288_defconfig
include/configs/brppt1.h
include/configs/devkit8000.h
include/configs/display5.h
include/configs/embestmx6boards.h
include/configs/gw_ventana.h
include/configs/imx6-engicam.h
include/configs/imx6_logic.h
include/configs/imx6dl-mamoj.h
include/configs/ls1043ardb.h
include/configs/mccmon6.h
include/configs/mx6sabreauto.h
include/configs/mx6sabresd.h
include/configs/pico-imx6.h
include/configs/pico-imx6ul.h
include/configs/pico-imx7d.h
include/configs/sama5d3_xplained.h
include/configs/ti_armv7_common.h
include/configs/vyasa-rk3288.h
include/configs/xea.h
include/configs/xilinx_zynqmp.h
include/configs/zynq-common.h
scripts/config_whitelist.txt