]> git.sur5r.net Git - u-boot/commitdiff
ARM: rmobile: Build u-boot-spl.srec on Gen2
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 26 Feb 2018 19:19:08 +0000 (20:19 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 27 Feb 2018 20:05:35 +0000 (21:05 +0100)
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 <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Tom Rini <trini@konsulko.com>
include/configs/rcar-gen2-common.h

index 1ceee9a4297869d53361c66893f643223c014607..60692204062accd621ae26d15dc36c963ccf64cd 100644 (file)
 #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