From: Tom Rini Date: Thu, 21 Nov 2019 12:16:59 -0500 Subject: [U-Boot] [PATCHv2 2/5] env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check In-Reply-To: <20191119010210.24477-2-trini@konsulko.com> References: <20191119010210.24477-1-trini@konsulko.com> <20191119010210.24477-2-trini@konsulko.com> Message-ID: <20191121171659.GH971@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Joe Hershberger > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass > Acked-by: Joe Hershberger 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: