From: Marek Vasut Date: Mon, 26 Feb 2018 19:19:08 +0000 (+0100) Subject: ARM: rmobile: Build u-boot-spl.srec on Gen2 X-Git-Tag: v2018.03-rc4~20^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44c5580f1c6c5665ff6217d1411aab2b74188195;p=platform%2Fkernel%2Fu-boot.git ARM: rmobile: Build u-boot-spl.srec on Gen2 The u-boot-spl.srec is needed for the minimon update on Gen2 SoCs, conveniently generate this file if SPL is enabled. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Tom Rini --- diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index 1ceee9a..6069220 100644 --- a/include/configs/rcar-gen2-common.h +++ b/include/configs/rcar-gen2-common.h @@ -15,6 +15,10 @@ #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#ifdef CONFIG_SPL +#define CONFIG_SPL_TARGET "spl/u-boot-spl.srec" +#endif + #undef CONFIG_SHOW_BOOT_PROGRESS #define CONFIG_ARCH_CPU_INIT