From: Stefan Roese Date: Fri, 23 Oct 2015 09:26:52 +0200 Subject: [U-Boot] [PATCH] arm: socfpga: Add CONFIG_BUILD_TARGET to socfpga_common.h In-Reply-To: <1445585213-6930-1-git-send-email-sr@denx.de> References: <1445585213-6930-1-git-send-email-sr@denx.de> Message-ID: <1445585213-6930-2-git-send-email-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de By defining this macro, the combined image of SPL and main U-Boot will get built automatically. Signed-off-by: Stefan Roese Cc: Marek Vasut Cc: Pavel Machek Cc: Dinh Nguyen --- 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