summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-02-28 05:20:25 -0700
committerTom Rini <[email protected]>2025-03-13 10:36:10 -0600
commitffa98c08e8597ecb3668025ae881630f5664684e (patch)
tree40b8793e5be1c06801fb24468e64d9e3490dad5d /common
parentd6a53f523afea94fb20fe4f9babcd880833372f1 (diff)
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]> Suggested-by: Tom Rini <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl
index 421352f9396..a535b61ecd3 100644
--- a/common/spl/Kconfig.tpl
+++ b/common/spl/Kconfig.tpl
@@ -138,8 +138,8 @@ config TPL_HAVE_INIT_STACK
bool "TPL requires a initial, fixed, stack-pointer location"
help
Enable if the TPL phase should not inherit its initial
- stack-pointer from the settings for U-Boot proper (or SPL if
- SPL_STACK is defined), but should set its own value.
+ stack-pointer from the settings for U-Boot proper, but should set its
+ own value.
config TPL_STACK
hex "Address of the initial stack-pointer for the TPL phase"