瀏覽代碼

arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Dinh Nguyen 10 年之前
父節點
當前提交
a717b811ff
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/configs/socfpga_common.h

+ 5 - 0
include/configs/socfpga_common.h

@@ -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