|
@@ -69,7 +69,9 @@ ENTRY(_main)
|
|
/*
|
|
/*
|
|
* Set up initial C runtime environment and call board_init_f(0).
|
|
* Set up initial C runtime environment and call board_init_f(0).
|
|
*/
|
|
*/
|
|
-#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_STACK)
|
|
|
|
|
|
+#if defined(CONFIG_TPL_BUILD) && defined(CONFIG_TPL_STACK)
|
|
|
|
+ ldr x0, =(CONFIG_TPL_STACK)
|
|
|
|
+#elif defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_STACK)
|
|
ldr x0, =(CONFIG_SPL_STACK)
|
|
ldr x0, =(CONFIG_SPL_STACK)
|
|
#else
|
|
#else
|
|
ldr x0, =(CONFIG_SYS_INIT_SP_ADDR)
|
|
ldr x0, =(CONFIG_SYS_INIT_SP_ADDR)
|