From b691c9a66817c9d4bed30450f1c491cc2f335224 Mon Sep 17 00:00:00 2001 From: Masaru Nagai Date: Fri, 28 Aug 2015 12:12:45 +0900 Subject: ARM: rmobile: Build u-boot-elf.srec on Gen3 The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, conveniently generate this file. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- include/configs/rcar-gen3-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h index 1ae6323369..bbaab80e23 100644 --- a/include/configs/rcar-gen3-common.h +++ b/include/configs/rcar-gen3-common.h @@ -13,6 +13,7 @@ #include #define CONFIG_REMAKE_ELF +#define CONFIG_BUILD_TARGET "u-boot-elf.srec" /* boot option */ -- cgit From 44c5580f1c6c5665ff6217d1411aab2b74188195 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 26 Feb 2018 20:19:08 +0100 Subject: 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 --- include/configs/rcar-gen2-common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit