[PATCH 01/29] arm: Support a separate stack for VPL
Jonas Karlman
jonas at kwiboo.se
Wed Feb 5 22:59:00 CET 2025
Hi Simon,
On 2025-02-05 02:54, Simon Glass wrote:
> 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 at chromium.org>
> ---
>
> arch/arm/lib/crt0_64.S | 4 +++-
> common/spl/Kconfig.vpl | 13 +++++++++++++
> 2 files changed, 16 insertions(+), 1 deletion(-)
[snip]
> diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl
> index cf6b36c8e38..d4d4a00d99f 100644
> --- a/common/spl/Kconfig.vpl
> +++ b/common/spl/Kconfig.vpl
[snip]
> @@ -266,6 +272,13 @@ 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_STACK
> + hex "Address of the initial stack-pointer for the TPL stage"
> + depends on VPL_NEEDS_SEPARATE_STACK
> + help
> + The address of the initial stack-pointer for the TPL stage.
> + Usually this will be the (aligned) top-of-stack.
I am guessing the two mentions of TPL above should be VPL?
Regards,
Jonas
> +
> config VPL_BINMAN_SYMBOLS
> bool "Declare binman symbols in VPL"
> depends on VPL_FRAMEWORK && BINMAN
More information about the U-Boot
mailing list