By defining this macro, the combined image of SPL and main U-Boot will
get built automatically.

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Marek Vasut <ma...@denx.de>
Cc: Pavel Machek <pa...@denx.de>
Cc: Dinh Nguyen <dingu...@opensource.altera.com>
---
 include/configs/socfpga_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index ebf0c48..f09b37d 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -339,4 +339,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  */
 #define CONFIG_SPL_STACK               CONFIG_SYS_INIT_SP_ADDR
 
+/* Build the combined SPL plus U-Boot image automatically */
+#define CONFIG_BUILD_TARGET            "u-boot-with-spl-dtb.sfp"
+
 #endif /* __CONFIG_SOCFPGA_CYCLONE5_COMMON_H__ */
-- 
2.6.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to