[U-Boot] [PATCH v2 36/40] env: Move TOTAL_MALLOC_LEN to environment.h

Tom Rini trini at konsulko.com
Tue Aug 13 16:55:51 UTC 2019


On Thu, Aug 01, 2019 at 09:47:11AM -0600, Simon Glass wrote:

> This declaration is only used in three files. Although it relates to
> malloc() it is actually only used during malloc() init. It uses CONFIG
> options including CONFIG_ENV_ADDR which are defined only in environment.h
> so this header must be included anyway, for TOTAL_MALLOC_LEN to be
> correct.
> 
> Nove it to environment.h to simplify the common file.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

Applied to u-boot/master, 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/20190813/d24a0b42/attachment.sig>


More information about the U-Boot mailing list