spl: Use CONFIG_VAL() to obtain the SPL stack
authorSimon Glass <sjg@chromium.org>
Fri, 28 Feb 2025 12:20:25 +0000 (05:20 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 13 Mar 2025 16:36:10 +0000 (10:36 -0600)
commitffa98c08e8597ecb3668025ae881630f5664684e
tree40b8793e5be1c06801fb24468e64d9e3490dad5d
parentd6a53f523afea94fb20fe4f9babcd880833372f1
spl: Use CONFIG_VAL() to obtain the SPL stack

Now that we have the same option for SPL and TPL, simplify the logic for
determining the initial stack.

Note that this changes behaviour as current SPL_STACK is a fallback for
TPL. However, that was likely unintended and can be handled with Kconfig
defaults if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Suggested-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/lowlevel_init.S
arch/arm/cpu/armv7/start.S
arch/arm/lib/crt0.S
arch/arm/lib/crt0_64.S
arch/riscv/cpu/start.S
common/spl/Kconfig.tpl