summaryrefslogtreecommitdiff
path: root/include/configs/PMC405.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/PMC405.h')
-rw-r--r--include/configs/PMC405.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/PMC405.h b/include/configs/PMC405.h
index b1d0ea5..c2db5ea 100644
--- a/include/configs/PMC405.h
+++ b/include/configs/PMC405.h
@@ -328,12 +328,11 @@
#define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_OCM_DATA_ADDR
/* End of used area in RAM */
-#define CONFIG_SYS_INIT_RAM_END CONFIG_SYS_OCM_DATA_SIZE
+#define CONFIG_SYS_INIT_RAM_SIZE CONFIG_SYS_OCM_DATA_SIZE
/* size in bytes reserved for initial data */
-#define CONFIG_SYS_GBL_DATA_SIZE 128
-#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 - \
+ GENERATED_GBL_DATA_SIZE)
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
#define CONFIG_OF_LIBFDT