[U-Boot] [PATCH] arm: socfpga: Add CONFIG_BUILD_TARGET to socfpga_common.h

Stefan Roese sr at denx.de
Fri Oct 23 09:26:52 CEST 2015


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

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Marek Vasut <marex at denx.de>
Cc: Pavel Machek <pavel at denx.de>
Cc: Dinh Nguyen <dinguyen at 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



More information about the U-Boot mailing list