diff options
| author | Tom Rini <[email protected]> | 2025-11-03 11:52:09 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-03 11:52:09 -0600 |
| commit | 2c16b803b82ace18077f08de58c6a079a94faa0f (patch) | |
| tree | e2986d50012b80fd59154994ac050a016c9f60d6 /cmd | |
| parent | 9ccda31f54881d3321263a81599454a1d6efb65e (diff) | |
| parent | 1dde581e1affbbfad285a75b892cbebaa3f0bf19 (diff) | |
Merge patch series "Remove usage of CMD_BOOTx from SPL code"
Anshul Dalal <[email protected]> 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/[email protected]
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index d9d93c95588..5b9c13d85e7 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -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. |
