[U-Boot] [PATCHv2 2/5] env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check

Tom Rini trini at konsulko.com
Thu Nov 21 17:16:59 UTC 2019


On Mon, Nov 18, 2019 at 08:02:07PM -0500, Tom Rini wrote:

> We have CONFIG_ENV_SIZE_IS_REDUND but don't really use it.  We have one
> board where we can simply multiple CONFIG_ENV_SIZE by two for the same
> result.  The other place where we could but were not previously using
> this is for where env_internal.h checks for if we should set
> ENV_IS_EMBEDDED.  This seems like the most likely use, historically, of
> the variable, but it was not used.  Add logic to check for this now.
> 
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list