summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-01-19 11:33:49 +0100
committerLuka Perkov <luka.perkov@sartura.hr>2015-02-06 17:24:36 +0100
commit1e0b5984f4d985f66ca06ed877dca91bf442fe4d (patch)
tree5628d3e9f55ada327f0218bff50466eaaf471617
parent9a5e0a7d5bd0e1758fcc59db524c1695d0dab7e0 (diff)
downloadu-boot-imx-1e0b5984f4d985f66ca06ed877dca91bf442fe4d.zip
u-boot-imx-1e0b5984f4d985f66ca06ed877dca91bf442fe4d.tar.gz
u-boot-imx-1e0b5984f4d985f66ca06ed877dca91bf442fe4d.tar.bz2
arm: armada-xp: Change built target to include the SPL binary as bin_hdr
Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Luka Perkov <luka.perkov@sartura.hr>
-rw-r--r--arch/arm/include/asm/arch-armada-xp/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-armada-xp/config.h b/arch/arm/include/asm/arch-armada-xp/config.h
index 00ee775..f9fd424 100644
--- a/arch/arm/include/asm/arch-armada-xp/config.h
+++ b/arch/arm/include/asm/arch-armada-xp/config.h
@@ -31,7 +31,11 @@
#endif /* CONFIG_SYS_KWD_CONFIG */
/* Add target to build it automatically upon "make" */
+#ifdef CONFIG_SPL
+#define CONFIG_BUILD_TARGET "u-boot-spl.kwb"
+#else
#define CONFIG_BUILD_TARGET "u-boot.kwb"
+#endif
/* end of 16M scrubbed by training in bootrom */
#define CONFIG_SYS_INIT_SP_ADDR 0x00FF0000