]> git.ipfire.org Git - people/ms/u-boot.git/commit - Kconfig
spl: use TPL_SYS_MALLOC_F_LEN for TPL
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 28 Jul 2017 09:06:03 +0000 (11:06 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:19 +0000 (17:12 +0200)
commitae2cee2e34a9a4b69b7a4dea3dc93c4d93d93b53
tree2794d45b9aa60a5df0b827947586f4b8b230b1ec
parent19b68fb280e8304c9c78c179ec40fdcfee793754
spl: use TPL_SYS_MALLOC_F_LEN for TPL

The (upstream) changes to break up SYS_MALLOC_F_LEN for the full
U-Boot and the SPL stage, break TPL (if simple malloc is enabled in
TPL).

This adds support for a TPL-variant of SYS_MALLOC_F_LEN:
- adds TPL_SYS_MALLOC_F_LEN
- rewrites a test for CONFIG_SPL_SYS_MALLOC_F_LEN to access
  CONFIG_VAL(SYS_MALLOC_F_LEN)

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig
common/spl/spl.c