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 <[email protected]>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 0fe5db43d5d8..24d6ce5d7399 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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.
-- 
2.43.0

Reply via email to