aboutsummaryrefslogtreecommitdiff
path: root/lib/asm-offsets.c
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 /lib/asm-offsets.c
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 'lib/asm-offsets.c')
-rw-r--r--lib/asm-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c
index 0808cd4..216d971 100644
--- a/lib/asm-offsets.c
+++ b/lib/asm-offsets.c
@@ -32,7 +32,7 @@ int main(void)
DEFINE(GD_FLAGS, offsetof(struct global_data, flags));
-#if CONFIG_VAL(SYS_MALLOC_F_LEN)
+#if CONFIG_IS_ENABLED(SYS_MALLOC_F)
DEFINE(GD_MALLOC_BASE, offsetof(struct global_data, malloc_base));
#endif