[U-Boot] [PATCH v1 9/9] arm: armada-xp: Change built target to include the SPL binary as bin_hdr
Stefan Roese
sr at denx.de
Tue Oct 28 10:36:08 CET 2014
Signed-off-by: Stefan Roese <sr at denx.de>
---
arch/arm/include/asm/arch-armada-xp/config.h | 4 ++++
1 file changed, 4 insertions(+)
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
--
2.1.2
More information about the U-Boot
mailing list