Merge patch series "Remove usage of CMD_BOOTx from SPL code"

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
This commit is contained in:
Tom Rini
2025-11-03 11:52:09 -06:00
11 changed files with 53 additions and 10 deletions

View File

@@ -284,6 +284,7 @@ config CMD_BOOTD
config CMD_BOOTM
bool "bootm"
default y
select LIB_BOOTM
help
Boot an application image from the memory.
@@ -360,6 +361,8 @@ config BOOTM_ELF
config CMD_BOOTZ
bool "bootz"
select LIB_BOOTZ
select LIB_BOOTM
help
Boot the Linux zImage
@@ -367,6 +370,8 @@ config CMD_BOOTI
bool "booti"
depends on ARM64 || RISCV || SANDBOX
default y
select LIB_BOOTI
select LIB_BOOTM
help
Boot an AArch64 Linux Kernel image from memory.