[U-Boot] [PATCH v2 11/11] arm: armada-xp: Change built target to include the SPL binary as bin_hdr
Stefan Roese
sr at denx.de
Mon Jan 19 11:33:49 CET 2015
Signed-off-by: Stefan Roese <sr at denx.de>
---
Changes in v2:
- Rebased on current master (2015.01, git ID ab77f241)
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.2.2
More information about the U-Boot
mailing list