[U-Boot] [PATCH 35/39] env: Move TOTAL_MALLOC_LEN to environment.h

Joe Hershberger joe.hershberger at ni.com
Tue Jul 30 21:14:14 UTC 2019


On Sun, Jul 28, 2019 at 9:24 AM Simon Glass <sjg at chromium.org> 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.

Nove -> Move

>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list