[U-Boot] [PATCH 2/2] ARM: rmobile: Build u-boot-elf.srec on Gen3

Tom Rini trini at konsulko.com
Sat Feb 24 19:16:53 UTC 2018


On Sat, Feb 24, 2018 at 12:24:18PM +0100, Marek Vasut wrote:

> From: Masaru Nagai <masaru.nagai.vx at renesas.com>
> 
> The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs,
> conveniently generate this file.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> ---
>  include/configs/rcar-gen3-common.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
> index 226069d67c..d665caf274 100644
> --- a/include/configs/rcar-gen3-common.h
> +++ b/include/configs/rcar-gen3-common.h
> @@ -13,6 +13,7 @@
>  #include <asm/arch/rmobile.h>
>  
>  #define CONFIG_REMAKE_ELF
> +#define CONFIG_BUILD_TARGET	"u-boot-elf.srec"
>  
>  /* boot option */
>  #define CONFIG_SUPPORT_RAW_INITRD

As is, this is fine.  But, there's a small number of CONFIG_BUILD_TARGET
platforms, can you take a pass at Kconfig conversion (and you should be
able to say default "u-boot-elf.srec" if RCAR_GEN3, default "u-boot.itb"
if ARCH_SUNXI, etc, for the few users we have currently.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180224/0be718fb/attachment.sig>


More information about the U-Boot mailing list