]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header
authorStefan Roese <sr@denx.de>
Sat, 25 Apr 2015 04:29:50 +0000 (06:29 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:11 +0000 (22:37 +0200)
This way, new MVEBU boards don't need to specifiy the common location
for the SPL linker script.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
arch/arm/mach-mvebu/include/mach/config.h
include/configs/db-mv784mp-gp.h
include/configs/maxbcm.h

index 86a0aed7699e2dfcc8ccf297fb407589930f718b..b326ec08ed8da18d94c14b9160f82a6c10003b7a 100644 (file)
@@ -85,4 +85,9 @@
 #define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
+/* Common SPL configuration */
+#ifndef CONFIG_SPL_LDSCRIPT
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"
+#endif
+
 #endif /* __MVEBU_CONFIG_H */
index cfeeab59964f84e240e74f3aee2d5e099944784b..897f473f0c3d1ca42d2180b510f393de3cc03133 100644 (file)
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"
 
 /* SPL related SPI defines */
 #define CONFIG_SPL_SPI_SUPPORT
index 27ea71fe616f4c169c490eed49f5a014dee0aa0e..a0ff067d1d2b0e9ebe2db6a7e086e4ce6d30f390 100644 (file)
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"
 
 /* SPL related SPI defines */
 #define CONFIG_SPL_SPI_SUPPORT