git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d4d11
)
spl: Support a relocated stack in any XPL phase
author
Simon Glass
<sjg@chromium.org>
Thu, 19 Dec 2024 18:28:59 +0000
(11:28 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 27 Dec 2024 21:16:10 +0000
(15:16 -0600)
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>
common/spl/spl.c
patch
|
blob
|
history
diff --git
a/common/spl/spl.c
b/common/spl/spl.c
index
91ee07f
..
702920b
100644
(file)
--- 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)
{
-#if
def CONFIG_SPL_STACK_R
+#if
CONFIG_IS_ENABLED(STACK_R)
gd_t *new_gd;
ulong ptr = CONFIG_SPL_STACK_R_ADDR;