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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h
index 8b5ef8f..71eb784 100644
--- a/include/configs/p3mx.h
+++ b/include/configs/p3mx.h
@@ -98,9 +98,8 @@
*/
#undef CONFIG_SYS_INIT_RAM_LOCK
#define CONFIG_SYS_INIT_RAM_ADDR 0x42000000
-#define CONFIG_SYS_INIT_RAM_END 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_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_INIT_RAM_SIZE 0x1000
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
/*-----------------------------------------------------------------------