From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Tue, 30 Jul 2019 21:14:14 +0000 Subject: [U-Boot] [PATCH 35/39] env: Move TOTAL_MALLOC_LEN to environment.h In-Reply-To: <20190728140357.137295-36-sjg@chromium.org> References: <20190728140357.137295-1-sjg@chromium.org> <20190728140357.137295-36-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jul 28, 2019 at 9:24 AM 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. Nove -> Move > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger