]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/sunxi-common.h
sunxi: Enable CONFIG_SPL_STACK_R
[people/ms/u-boot.git] / include / configs / sunxi-common.h
index e1ba7914cda1830ff1bebb8a6aee43e2eafa210d..2ba21b3245150f4f70e2ea74426c8270d0f23375 100644 (file)
 #define CONFIG_SYS_LOAD_ADDR           0x22000000 /* default load address */
 #define CONFIG_SYS_TEXT_BASE           0x2a000000
 #define CONFIG_PRE_CON_BUF_ADDR                0x2f000000
+/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here 
+ * since it needs to fit in with the other values. By also #defining it
+ * we get warnings if the Kconfig value mismatches. */
+#define CONFIG_SPL_STACK_R_ADDR                0x2fe00000
 #define CONFIG_SYS_SPL_MALLOC_START    0x2ff00000
 #define CONFIG_SPL_BSS_START_ADDR      0x2ff80000
 #else
 #define CONFIG_SYS_LOAD_ADDR           0x42000000 /* default load address */
 #define CONFIG_SYS_TEXT_BASE           0x4a000000
 #define CONFIG_PRE_CON_BUF_ADDR                0x4f000000
+/* Note SPL_STACK_R_ADDR is set through Kconfig, we include it here 
+ * since it needs to fit in with the other values. By also #defining it
+ * we get warnings if the Kconfig value mismatches. */
+#define CONFIG_SPL_STACK_R_ADDR                0x4fe00000
 #define CONFIG_SYS_SPL_MALLOC_START    0x4ff00000
 #define CONFIG_SPL_BSS_START_ADDR      0x4ff80000
 #endif