diff mbox series

[U-Boot,3/4] spl: use ARCH_MX23/28 to specify SPL_LDSCRIPT

Message ID 20180205213316.16124-4-stefan@agner.ch
State Superseded
Delegated to: Tom Rini
Headers show
Series arm: imx: convert MX23/28 and MXS NAND to Kconfig | expand

Commit Message

Stefan Agner Feb. 5, 2018, 9:33 p.m. UTC
From: Stefan Agner <stefan.agner@toradex.com>

Simplify SPL_LDSCRIPT config by using the new arch Kconfig
configurations ARCH_MX23 and ARCH_MX28.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
---

 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f4301f18ce..2330c83d74 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1324,7 +1324,7 @@  source "arch/arm/Kconfig.debug"
 endmenu
 
 config SPL_LDSCRIPT
-        default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if TARGET_APX4DEVKIT || TARGET_BG0900 || TARGET_M28EVK || TARGET_MX23_OLINUXINO || TARGET_MX23EVK || TARGET_MX28EVK || TARGET_SANSA_FUZE_PLUS || TARGET_SC_SPS_1 || TARGET_TS4600 || TARGET_XFI3
+        default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if ARCH_MX23 || ARCH_MX28
         default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
 	default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64