diff mbox

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

Message ID 1445585213-6930-2-git-send-email-sr@denx.de
State Deferred
Delegated to: Marek Vasut
Headers show

Commit Message

Stefan Roese Oct. 23, 2015, 7:26 a.m. UTC
By defining this macro, the combined image of SPL and main U-Boot will
get built automatically.

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

Comments

Marek Vasut Oct. 23, 2015, 6:26 p.m. UTC | #1
On Friday, October 23, 2015 at 09:26:52 AM, Stefan Roese wrote:
> By defining this macro, the combined image of SPL and main U-Boot will
> get built automatically.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Pavel Machek <pavel@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>

This is a good one, thanks!

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
diff mbox

Patch

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__ */