summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-02-26 20:19:08 +0100
committerMarek Vasut <marex@denx.de>2018-02-27 21:05:35 +0100
commit44c5580f1c6c5665ff6217d1411aab2b74188195 (patch)
tree6f94473a5f6ebe547e3195393d0b75849a74345a
parent3ee58ea425fc6c8ff8b38cab65fef31ec61d5db3 (diff)
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 <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/rcar-gen2-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index 1ceee9a429..6069220406 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