diff options
author | Simon Glass | 2023-09-26 08:14:27 -0600 |
---|---|---|
committer | Tom Rini | 2023-10-06 14:38:12 -0400 |
commit | 3d6d50751469fbadec3e34fbb6d06f21746619dd (patch) | |
tree | 9dee21255e4963c896bb6c3a2edbd7cef8ca2a47 /arch/sh/lib/start.S | |
parent | a57204180799489bacfdad3f6b32dc520ed545df (diff) |
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 'arch/sh/lib/start.S')
-rw-r--r-- | arch/sh/lib/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/lib/start.S b/arch/sh/lib/start.S index ddb9aa9f87b..f0e1c805b01 100644 --- a/arch/sh/lib/start.S +++ b/arch/sh/lib/start.S @@ -53,7 +53,7 @@ _start: mov.l ._gd_init, r13 /* global data */ mov.l ._stack_init, r15 /* stack */ -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) mov.l ._gd_malloc_base, r14 mov.l r15, @r14 #endif @@ -73,7 +73,7 @@ loop: ._bss_start: .long bss_start ._bss_end: .long bss_end ._gd_init: .long (_start - GENERATED_GBL_DATA_SIZE) -#if CONFIG_VAL(SYS_MALLOC_F_LEN) +#if CONFIG_IS_ENABLED(SYS_MALLOC_F) ._gd_malloc_base: .long (_start - GENERATED_GBL_DATA_SIZE + GD_MALLOC_BASE) #endif ._stack_init: .long (_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16) |