[U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

Alexey Brodkin alexey.brodkin at synopsys.com
Wed Jan 16 16:22:22 UTC 2019


Hi Tom,

> -----Original Message-----
> From: Tom Rini <trini at konsulko.com>
> Sent: Wednesday, January 16, 2019 7:19 PM
> To: Alexey Brodkin <alexey.brodkin at synopsys.com>
> Cc: u-boot at lists.denx.de; uboot-snps-arc at synopsys.com; Michal Simek <michal.simek at xilinx.com>; Simon
> Glass <sjg at chromium.org>
> Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig
> 
> On Wed, Jan 16, 2019 at 07:11:15PM +0300, Alexey Brodkin wrote:
> 
> > Join the party of some ARM boards and drop more
> > items from include/configs/xxx.h.
> >
> > Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> > Cc: Michal Simek <michal.simek at xilinx.com>
> > Cc: Simon Glass <sjg at chromium.org>
> > Cc: Tom Rini <trini at konsulko.com>
> > ---

[snip]

> >  config ENV_OFFSET
> >  	hex "Environment Offset"
> > @@ -441,6 +441,7 @@ config ENV_OFFSET
> >  	default 0x88000 if ARCH_SUNXI
> >  	default 0xE0000 if ARCH_ZYNQ
> >  	default 0x1E00000 if ARCH_ZYNQMP
> > +	default 0
> 
> Please make this "if ARC", thanks!

Actually I don't like having here listed all the boards
because with more boards/arches moving ENV settings to Kconfig
we'll get here all of them listed at some point.
Why default ENV_OFFSET [as well as] ENV_SIZE are not set in
arch/soc/board top-level Kconfig?

-Alexey


More information about the U-Boot mailing list