mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
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>
This commit is contained in:
parent
3ef5246886
commit
1c5c5a3dcc
@ -896,7 +896,7 @@ __weak void spl_relocate_stack_check(void)
|
|||||||
*/
|
*/
|
||||||
ulong spl_relocate_stack_gd(void)
|
ulong spl_relocate_stack_gd(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SPL_STACK_R
|
#if CONFIG_IS_ENABLED(STACK_R)
|
||||||
gd_t *new_gd;
|
gd_t *new_gd;
|
||||||
ulong ptr = CONFIG_SPL_STACK_R_ADDR;
|
ulong ptr = CONFIG_SPL_STACK_R_ADDR;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user