summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-04-25 06:29:50 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-05-05 14:28:29 +0200
commit880b15a37b22ce516b24460e4bbedd9a6b055625 (patch)
tree675e0095653b882b00944e733befa9344bb792b4 /arch/arm/mach-mvebu
parentf7c0ef073d9e6cdfb98ec7b6dd754926b6afc3ea (diff)
downloadu-boot-imx-880b15a37b22ce516b24460e4bbedd9a6b055625.zip
u-boot-imx-880b15a37b22ce516b24460e4bbedd9a6b055625.tar.gz
u-boot-imx-880b15a37b22ce516b24460e4bbedd9a6b055625.tar.bz2
arm: mvebu: Move CONFIG_SPL_LDSCRIPT to common header
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>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/include/mach/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h
index 86a0aed..b326ec0 100644
--- a/arch/arm/mach-mvebu/include/mach/config.h
+++ b/arch/arm/mach-mvebu/include/mach/config.h
@@ -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 */