summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-03 11:52:09 -0600
committerTom Rini <[email protected]>2025-11-03 13:18:22 -0600
commit28b81c07beec2b6bfc08b36bd4ba87699a9a4280 (patch)
tree71c6da17478492d874dbb7ab476a040315fdf67a /boot
parent9ccda31f54881d3321263a81599454a1d6efb65e (diff)
parent1dde581e1affbbfad285a75b892cbebaa3f0bf19 (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 'boot')
-rw-r--r--boot/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 921f096da56..d4655f70448 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -33,6 +33,24 @@ config TIMESTAMP
loaded that does not, the message 'Wrong FIT format: no timestamp'
is shown.
+config LIB_BOOTI
+ bool
+
+config LIB_BOOTM
+ bool
+
+config LIB_BOOTZ
+ bool
+
+config SPL_LIB_BOOTI
+ bool
+
+config SPL_LIB_BOOTM
+ bool
+
+config SPL_LIB_BOOTZ
+ bool
+
config BUTTON_CMD
bool "Support for running a command if a button is held during boot"
depends on CMDLINE