summaryrefslogtreecommitdiff
path: root/include/configs/inka4x0.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-22 22:35:44 +0200
committerWolfgang Denk <wd@denx.de>2010-09-22 22:35:44 +0200
commitd1475d8aab7a6ab7ea7534a98bd20e59f150c2e3 (patch)
tree9cba64584a5b520e8074c722f662d27387f2fd84 /include/configs/inka4x0.h
parent0cc89de8ef60214083739904b011f6c255922723 (diff)
parent800eb09641ae67c707b65acff112684a954b7f44 (diff)
downloadu-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.zip
u-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.tar.gz
u-boot-imx-d1475d8aab7a6ab7ea7534a98bd20e59f150c2e3.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'include/configs/inka4x0.h')
-rw-r--r--include/configs/inka4x0.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h
index c5b1565..69365e6 100644
--- a/include/configs/inka4x0.h
+++ b/include/configs/inka4x0.h
@@ -200,14 +200,16 @@
/* Use ON-Chip SRAM until RAM will be available */
#define CONFIG_SYS_INIT_RAM_ADDR MPC5XXX_SRAM
-#ifdef CONFIG_POST
+
/* preserve space for the post_word at end of on-chip SRAM */
+#define MPC5XXX_SRAM_POST_SIZE (MPC5XXX_SRAM_SIZE - 4)
+
+#ifdef CONFIG_POST
#define CONFIG_SYS_INIT_RAM_END MPC5XXX_SRAM_POST_SIZE
#else
#define CONFIG_SYS_INIT_RAM_END MPC5XXX_SRAM_SIZE
#endif
-
#define CONFIG_SYS_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET