arm: armada-xp: Change built target to include the SPL binary as bin_hdr
authorStefan Roese <sr@denx.de>
Mon, 19 Jan 2015 10:33:49 +0000 (11:33 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Fri, 6 Feb 2015 16:24:36 +0000 (17:24 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/include/asm/arch-armada-xp/config.h

index 00ee775a45150655840a137e7ec8ce5a4a7b6ed7..f9fd4246099a6d28d8dff9759e0424eb3e7a1db3 100644 (file)
 #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