]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
NXP: Make RAMBOOT_PBL only be valid for PowerPC or ls1021A
authorTom Rini <trini@konsulko.com>
Thu, 25 Sep 2025 20:51:26 +0000 (14:51 -0600)
committerPeng Fan <peng.fan@nxp.com>
Fri, 10 Oct 2025 03:45:07 +0000 (11:45 +0800)
Only PowerPC and LS1021A platforms can make use of RAMBOOT_PBL. Add the
dependencies to the symbol.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
boot/Kconfig

index 780889023e1014d1c0d02ef272f542b963e4b894..eff05948b3a1b1a410e3705354a033484af1bf86 100644 (file)
@@ -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.