]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spl: Restore args file being default in falcon mode
authorTom Rini <trini@konsulko.com>
Mon, 20 Oct 2025 19:55:08 +0000 (13:55 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 20 Oct 2025 19:55:37 +0000 (13:55 -0600)
When falcon mode is enabled and SPL_OS_BOOT_SECURE is not enabled,
restore the previous default behavior of having an args file be
expected. Platforms which are using a FIT image here and do not need
this can update at their convenience to disable this option now.

Fixes: b1a3ed068869 ("spl: make args file optional in falcon mode")
Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/Kconfig

index 0fe5db43d5d8ac82c628b7237c4b0a84bae0da52..24d6ce5d7399b06799a930911f93665a10531469 100644 (file)
@@ -1219,6 +1219,7 @@ config SPL_OS_BOOT_SECURE
 config SPL_OS_BOOT_ARGS
        bool "Allow SPL to load args for kernel in falcon mode"
        depends on (SPL_OS_BOOT || SPL_LOAD_FIT_OPENSBI_OS_BOOT) && !SPL_OS_BOOT_SECURE
+       default y if !SPL_OS_BOOT_SECURE
        help
          This option enables the SPL to load an args file (usually the FDT)
          alongside the kernel image in falcon boot mode.