aboutsummaryrefslogtreecommitdiffstats
path: root/include/configs/p3mx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/p3mx.h')
-rw-r--r--include/configs/p3mx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h
index 8b5ef8fa85..97703d6b72 100644
--- a/include/configs/p3mx.h
+++ b/include/configs/p3mx.h
@@ -98,9 +98,9 @@
*/
#undef CONFIG_SYS_INIT_RAM_LOCK
#define CONFIG_SYS_INIT_RAM_ADDR 0x42000000
-#define CONFIG_SYS_INIT_RAM_END 0x1000
+#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_END - CONFIG_SYS_GBL_DATA_SIZE)
+#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - CONFIG_SYS_GBL_DATA_SIZE)
/*-----------------------------------------------------------------------