diff options
author | Simon Glass <sjg@chromium.org> | 2025-02-28 05:20:26 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-28 14:37:02 -0600 |
commit | e7ed831eb0fd17e41b73bae5fa4c7c552775f7e7 (patch) | |
tree | a60d9e3c4ef0bb7dc9f799922db09e0ae56cefcc | |
parent | e50be727ebed842f7e2551ac476e8390ed7c6dbb (diff) | |
download | u-boot-e7ed831eb0fd17e41b73bae5fa4c7c552775f7e7.tar.gz |
arm: Support a separate stack for VPLCHECK/v4-xpl-stack-cleanup
VPL has the same needs as TPL in situations where the stack is at the
top of SRAM. Add an option for this and implement it for arm
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/spl/Kconfig.vpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl index cf6b36c8e38..434562443ac 100644 --- a/common/spl/Kconfig.vpl +++ b/common/spl/Kconfig.vpl @@ -266,6 +266,20 @@ config VPL_MAX_SIZE The maximum size (in bytes) of the TPL stage. This size is determined by the amount of internal SRAM memory. +config VPL_HAVE_INIT_STACK + bool "VPL requires a initial, fixed, stack-pointer location" + help + Enable if the VPL phase should not use inherit its initial + stack-pointer from the settings for U-Boot proper, but should set + its own value. + +config VPL_STACK + hex "Address of the initial stack-pointer for the VPL phase" + depends on VPL_HAVE_INIT_STACK + help + The address of the initial stack-pointer for the VPL phase + Usually this will be the (aligned) top-of-stack. + config VPL_BINMAN_SYMBOLS bool "Declare binman symbols in VPL" depends on VPL_FRAMEWORK && BINMAN |