summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-03 23:23:55 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-13 17:12:37 +0200
commitb529993e0222ce8c97d3e8fe41e4a2e7878e281e (patch)
tree7ac9b563cc813ba24712c9c03b00181d497d0d9d /board/freescale
parent96b9082c6413c9ec354f9ea5c61014e2b203ff5b (diff)
downloadu-boot-b529993e0222ce8c97d3e8fe41e4a2e7878e281e.tar.gz
u-boot-b529993e0222ce8c97d3e8fe41e4a2e7878e281e.tar.bz2
u-boot-b529993e0222ce8c97d3e8fe41e4a2e7878e281e.zip
spl: add hierarchical defaults for SPL_LDSCRIPT
With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config node), all the lingering definitions in header files will cause warnings/errors due to the redefinition of the configuration item. As we don't want to pollute the defconfig files (and values should usually be identical for entire architectures), the defaults are moved into Kconfig. Kconfig will always pick the first default that matches, so please keep these values at the end of each file (to allow any board-specific Kconfig, which will be included earlier) to override with an unconditional default setting. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx31pdk/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx31pdk/Kconfig b/board/freescale/mx31pdk/Kconfig
index 055545c930..b9fc2d5177 100644
--- a/board/freescale/mx31pdk/Kconfig
+++ b/board/freescale/mx31pdk/Kconfig
@@ -1,5 +1,8 @@
if TARGET_MX31PDK
+config SPL_LDSCRIPT
+ default "arch/$(ARCH)/cpu/u-boot-spl.lds"
+
config SYS_BOARD
default "mx31pdk"