We can only enable Falcon Mode (aka SPL_OS) on architectures which
implement certain hooks. Express these dependencies in Kconfig.

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 defc8bd6a8ed..63f6f8d962fa 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -1203,6 +1203,7 @@ config SPL_ONENAND_SUPPORT
 config SPL_OS_BOOT
        bool "Activate Falcon Mode"
        depends on !TI_SECURE_DEVICE
+       depends on ARM || MICROBLAZE || PPC
        help
          Enable booting directly to an OS from SPL.
          for more info read doc/README.falcon
-- 
2.43.0

Reply via email to