[PATCH] spl: Convert SYS_MMCSD_RAW_MODE_KERNEL_SECTOR to Kconfig

Simon Glass sjg at chromium.org
Wed Jan 12 21:03:18 CET 2022


On Thu, 30 Dec 2021 at 09:40, Alexandru Gagniuc <mr.nuke.me at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> This is designed to apply on top of next:
> 111a8b5735 (origin/next) Merge branch '2021-12-27-CONFIG-migrations' into next
>
>
>  README                                    |  4 ----
>  common/spl/Kconfig                        | 16 ++++++++++++++++
>  common/spl/spl_mmc.c                      |  2 +-
>  configs/am335x_boneblack_vboot_defconfig  |  2 ++
>  configs/am335x_evm_defconfig              |  2 ++
>  configs/am335x_igep003x_defconfig         |  2 ++
>  configs/am335x_shc_defconfig              |  2 ++
>  configs/am335x_shc_ict_defconfig          |  2 ++
>  configs/am335x_shc_netboot_defconfig      |  2 ++
>  configs/am335x_shc_sdboot_defconfig       |  2 ++
>  configs/am335x_sl50_defconfig             |  2 ++
>  configs/am3517_evm_defconfig              |  2 ++
>  configs/am43xx_evm_defconfig              |  2 ++
>  configs/am43xx_evm_rtconly_defconfig      |  2 ++
>  configs/am43xx_evm_usbhost_boot_defconfig |  2 ++
>  configs/am57xx_evm_defconfig              |  2 ++
>  configs/devkit8000_defconfig              |  2 ++
>  configs/display5_defconfig                |  2 ++
>  configs/display5_factory_defconfig        |  2 ++
>  configs/dra7xx_evm_defconfig              |  2 ++
>  configs/gwventana_emmc_defconfig          |  2 ++
>  configs/gwventana_gw5904_defconfig        |  2 ++
>  configs/gwventana_nand_defconfig          |  2 ++
>  configs/igep00x0_defconfig                |  2 ++
>  configs/imx6dl_mamoj_defconfig            |  2 ++
>  configs/imx6q_logic_defconfig             |  2 ++
>  configs/omap35_logic_defconfig            |  2 ++
>  configs/omap35_logic_somlv_defconfig      |  2 ++
>  configs/omap3_logic_defconfig             |  2 ++
>  configs/omap3_logic_somlv_defconfig       |  2 ++
>  configs/omap4_panda_defconfig             |  2 ++
>  configs/omap5_uevm_defconfig              |  2 ++
>  include/configs/brppt1.h                  |  1 -
>  include/configs/devkit8000.h              |  2 --
>  include/configs/display5.h                |  1 -
>  include/configs/embestmx6boards.h         |  1 -
>  include/configs/gw_ventana.h              |  1 -
>  include/configs/imx6-engicam.h            |  1 -
>  include/configs/imx6_logic.h              |  1 -
>  include/configs/imx6dl-mamoj.h            |  1 -
>  include/configs/ls1043ardb.h              |  1 -
>  include/configs/mccmon6.h                 |  1 -
>  include/configs/mx6sabreauto.h            |  1 -
>  include/configs/mx6sabresd.h              |  1 -
>  include/configs/pico-imx6.h               |  1 -
>  include/configs/pico-imx6ul.h             |  1 -
>  include/configs/pico-imx7d.h              |  1 -
>  include/configs/sama5d3_xplained.h        |  1 -
>  include/configs/ti_armv7_common.h         |  1 -
>  include/configs/vyasa-rk3288.h            |  1 -
>  include/configs/xea.h                     |  1 -
>  include/configs/xilinx_zynqmp.h           |  1 -
>  include/configs/zynq-common.h             |  1 -
>  scripts/config_whitelist.txt              |  1 -
>  54 files changed, 75 insertions(+), 28 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list