summaryrefslogtreecommitdiff
path: root/include/configs/M5235EVB.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/M5235EVB.h')
-rw-r--r--include/configs/M5235EVB.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index 6d624dca5a0..cd12d2b7a4f 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -169,8 +169,7 @@
#define CONFIG_SYS_INIT_RAM_ADDR 0x20000000
#define CONFIG_SYS_INIT_RAM_SIZE 0x10000 /* Size of used area in internal SRAM */
#define CONFIG_SYS_INIT_RAM_CTRL 0x21
-#define CONFIG_SYS_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
-#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - CONFIG_SYS_GBL_DATA_SIZE - 0x10)
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE - 0x10)
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
/*-----------------------------------------------------------------------