Only PowerPC and LS1021A platforms can make use of RAMBOOT_PBL. Add the
dependencies to the symbol.

Signed-off-by: Tom Rini <[email protected]>
---
 boot/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 780889023e10..eff05948b3a1 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -1093,6 +1093,7 @@ config SYS_RAMBOOT
 
 config RAMBOOT_PBL
        bool "Freescale PBL(pre-boot loader) image format support"
+       depends on ARCH_LS1021A || PPC
        select SYS_RAMBOOT if PPC
        help
          Some SoCs use PBL to load RCW and/or pre-initialization instructions.
-- 
2.43.0

Reply via email to