]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "Remove usage of CMD_BOOTx from SPL code"
authorTom Rini <trini@konsulko.com>
Mon, 3 Nov 2025 17:52:09 +0000 (11:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 3 Nov 2025 19:18:22 +0000 (13:18 -0600)
Anshul Dalal <anshuld@ti.com> says:

Hi all,

We currently make use of CMD_BOOTI and CMD_BOOTZ in the SPL boot flow in
falcon mode, this isn't correct since all CMD_* configs are only meant
for U-Boot proper and not the SPL.

Therefore this patch set adds new LIB_BOOT[IMZ] configs that allow for
more granular selection of their respective compilation targets.

Additionally, this also allows us to more easily disable support for
raw images from secure falcon mode (SPL_OS_BOOT_SECURE) by doing the
following:

  config LIB_SPL_BOOTI
    ...
    depends on SPL_OS_BOOT && !SPL_OS_BOOT_SECURE
    ...

Link: https://lore.kernel.org/r/20251027-fix_cmd_bootx-v10-0-10487e907710@ti.com
1  2 
boot/Kconfig
cmd/Kconfig
configs/imx28_btt3_defconfig

diff --cc boot/Kconfig
Simple merge
diff --cc cmd/Kconfig
Simple merge
index 07c805faa2f7eb7a24c85491d2f71947cd2fc3b1,07c805faa2f7eb7a24c85491d2f71947cd2fc3b1..72dd639ffb8b9765ab31b2bd00c566e48b099afe
@@@ -138,3 -138,3 +138,4 @@@ CONFIG_DM_SPI=
  CONFIG_MXS_SPI=y
  CONFIG_SPL_CRC8=y
  # CONFIG_SPL_OF_LIBFDT is not set
++# CONFIG_SPL_BOOTZ is not set