arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h
authorDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 30 Mar 2015 22:01:12 +0000 (17:01 -0500)
committerMarek Vasut <marex@denx.de>
Tue, 21 Apr 2015 10:23:17 +0000 (12:23 +0200)
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
include/configs/socfpga_common.h

index 9b29c60..1111c16 100644 (file)
@@ -305,6 +305,11 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_SPL_WATCHDOG_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
 
+/*
+ * Stack setup
+ */
+#define CONFIG_SPL_STACK               CONFIG_SYS_INIT_SP_ADDR
+
 #ifdef CONFIG_SPL_BUILD
 #undef CONFIG_PARTITIONS
 #endif