summaryrefslogtreecommitdiff
path: root/include/configs/p3mx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/p3mx.h')
-rw-r--r--include/configs/p3mx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h
index 97703d6..71eb784 100644
--- a/include/configs/p3mx.h
+++ b/include/configs/p3mx.h
@@ -99,8 +99,7 @@
#undef CONFIG_SYS_INIT_RAM_LOCK
#define CONFIG_SYS_INIT_RAM_ADDR 0x42000000
#define CONFIG_SYS_INIT_RAM_SIZE 0x1000
-#define CONFIG_SYS_GBL_DATA_SIZE 128 /* size in bytes reserved for init data */
-#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
/*-----------------------------------------------------------------------