aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-26 08:14:27 -0600
committerTom Rini <trini@konsulko.com>2023-10-06 14:38:12 -0400
commit3d6d50751469fbadec3e34fbb6d06f21746619dd (patch)
tree9dee21255e4963c896bb6c3a2edbd7cef8ca2a47 /Kconfig
parenta57204180799489bacfdad3f6b32dc520ed545df (diff)
downloadu-boot-3d6d50751469fbadec3e34fbb6d06f21746619dd.zip
u-boot-3d6d50751469fbadec3e34fbb6d06f21746619dd.tar.gz
u-boot-3d6d50751469fbadec3e34fbb6d06f21746619dd.tar.bz2
spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN
Use the new SPL/TPL/VPL_SYS_MALLOC_F symbols to determine whether the malloc pool exists. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig9
1 files changed, 4 insertions, 5 deletions
diff --git a/Kconfig b/Kconfig
index 927e2de..068da61 100644
--- a/Kconfig
+++ b/Kconfig
@@ -307,8 +307,7 @@ config SPL_SYS_MALLOC_F
config SPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in SPL"
- depends on SYS_MALLOC_F && SPL
- default 0x0 if !SPL_FRAMEWORK
+ depends on SPL_SYS_MALLOC_F
default 0x2800 if RCAR_GEN3
default 0x2000 if IMX8MQ
default SYS_MALLOC_F_LEN
@@ -332,7 +331,7 @@ config TPL_SYS_MALLOC_F
config TPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in TPL"
- depends on SYS_MALLOC_F && TPL
+ depends on TPL_SYS_MALLOC_F
default SPL_SYS_MALLOC_F_LEN
help
Sets the size of the malloc() pool in TPL. This is used for
@@ -366,8 +365,8 @@ config VPL_SYS_MALLOC_F
config VPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in VPL before relocation"
- depends on SYS_MALLOC_F && VPL
- default SYS_MALLOC_F_LEN
+ depends on VPL_SYS_MALLOC_F
+ default SPL_SYS_MALLOC_F_LEN
help
Sets the size of the malloc() pool in VPL. This is used for
driver model and other features, which must allocate memory for