ARM64: zynqmp: Fix stack pointer initialization
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 27 Jul 2016 21:12:03 +0000 (14:12 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 2 Aug 2016 05:19:09 +0000 (07:19 +0200)
This partly reverts commit:
"ARM64: zynqmp: Add SPL support support"
(sha1: e6a9ed04e78cf87ec97e306fa4e7a1669ef98df6)

Stack can rewrite ATF code.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index 65f768da73f29ca0d5181c832d929fa580e399cb..297cc4d5f3dd4076dc8bf31daff92c5e5f7ba6d4 100644 (file)
@@ -41,7 +41,7 @@
 # define CONFIG_IDENT_STRING           " Xilinx ZynqMP"
 #endif
 
-#define CONFIG_SYS_INIT_SP_ADDR                0xfffffffc
+#define CONFIG_SYS_INIT_SP_ADDR                CONFIG_SYS_TEXT_BASE
 
 /* Generic Timer Definitions - setup in EL3. Setup by ATF for other cases */
 #if !defined(COUNTER_FREQUENCY)
 #endif
 
 #define CONFIG_SPL_TEXT_BASE           0xfffc0000
+#define CONFIG_SPL_STACK               0xfffffffc
 #define CONFIG_SPL_MAX_SIZE            0x20000
 
 /* Just random location in OCM */