summaryrefslogtreecommitdiff
path: root/include/configs/luan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/luan.h')
-rw-r--r--include/configs/luan.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/luan.h b/include/configs/luan.h
index d801404..3b4761b 100644
--- a/include/configs/luan.h
+++ b/include/configs/luan.h
@@ -80,9 +80,8 @@
* Initial RAM & stack pointer (placed in SDRAM)
*----------------------------------------------------------------------*/
#define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_ISRAM_BASE
-#define CONFIG_SYS_INIT_RAM_END (8 << 10)
-#define CONFIG_SYS_GBL_DATA_SIZE 256 /* num bytes initial data */
-#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_SIZE (8 << 10)
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
/*-----------------------------------------------------------------------