Przeglądaj źródła

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

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Dinh Nguyen 10 lat temu
rodzic
commit
a717b811ff
1 zmienionych plików z 5 dodań i 0 usunięć
  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