diff mbox series

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

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

Commit Message

Stefan Agner Feb. 6, 2018, 8:44 a.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>
---

Changes in v2: None

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

Comments

Tom Rini Feb. 8, 2018, 6:27 p.m. UTC | #1
On Tue, Feb 06, 2018 at 09:44:36AM +0100, Stefan Agner wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 8a0cbc7faa..a3d3a6274e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1326,7 +1326,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