diff options
| author | Simon Glass <sjg@chromium.org> | 2024-12-19 11:28:59 -0700 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-12-27 15:16:10 -0600 |
| commit | 7f67b6fa835ac885073183846f797808795a5bde (patch) | |
| tree | 8fd2229e638f2f908019b9009ffa256de6ff1870 | |
| parent | a7d4d119440f9e1b7c8c3806a2ebe2008f7785d7 (diff) | |
spl: Support a relocated stack in any XPL phase
The current check looks only at SPL, but TPL or VPL might have a
different setting. Update the condition.
Signed-off-by: Simon Glass <sjg@chromium.org>
| -rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 91ee07f7079..702920bd2f7 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -896,7 +896,7 @@ __weak void spl_relocate_stack_check(void) */ ulong spl_relocate_stack_gd(void) { -#ifdef CONFIG_SPL_STACK_R +#if CONFIG_IS_ENABLED(STACK_R) gd_t *new_gd; ulong ptr = CONFIG_SPL_STACK_R_ADDR; |
