summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-10 23:04:05 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:46 +0200
commitbf56080769f13025daaeb80d967eea19e7f78d60 (patch)
tree28e015029d231cc0d0130360398bbd6110b3a290 /include/configs
parent07517e7f4f582d1607adbc444bab75af3ac4a7f9 (diff)
4xx: add missing CONFIG_SYS_SRAM_SIZE definition
A number of boards define CONFIG_SYS_SRAM_BASE but fail to define CONFIG_SYS_SRAM_SIZE which is needed when cleaning up the code that prints this information with the bdinfo command. Add the missing deinitions. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/bubinga.h1
-rw-r--r--include/configs/canyonlands.h1
-rw-r--r--include/configs/intip.h1
-rw-r--r--include/configs/luan.h1
-rw-r--r--include/configs/t3corp.h1
5 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/bubinga.h b/include/configs/bubinga.h
index 627060a759..159a265d25 100644
--- a/include/configs/bubinga.h
+++ b/include/configs/bubinga.h
@@ -179,6 +179,7 @@
* (Set up by the startup code)
*/
#define CONFIG_SYS_SRAM_BASE 0xFFF00000
+#define CONFIG_SYS_SRAM_SIZE (256 << 10)
#define CONFIG_SYS_FLASH_BASE 0xFFF80000
/*-----------------------------------------------------------------------
diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h
index 6fe7639e86..e2c58a51ab 100644
--- a/include/configs/canyonlands.h
+++ b/include/configs/canyonlands.h
@@ -111,6 +111,7 @@
#define CONFIG_SYS_OCM_BASE 0xE3000000 /* OCM: 64k */
#define CONFIG_SYS_SRAM_BASE 0xE8000000 /* SRAM: 256k */
+#define CONFIG_SYS_SRAM_SIZE (256 << 10)
#define CONFIG_SYS_LOCAL_CONF_REGS 0xEF000000
#define CONFIG_SYS_PERIPHERAL_BASE 0xEF600000 /* internal peripherals */
diff --git a/include/configs/intip.h b/include/configs/intip.h
index 19f12fa770..0c0bb373bd 100644
--- a/include/configs/intip.h
+++ b/include/configs/intip.h
@@ -93,6 +93,7 @@
#define CONFIG_SYS_OCM_BASE 0xE3000000 /* OCM: 64k */
#define CONFIG_SYS_SRAM_BASE 0xE8000000 /* SRAM: 256k */
+#define CONFIG_SYS_SRAM_SIZE (256 << 10)
#define CONFIG_SYS_LOCAL_CONF_REGS 0xEF000000
#define CONFIG_SYS_PERIPHERAL_BASE 0xEF600000 /* internal periph. */
diff --git a/include/configs/luan.h b/include/configs/luan.h
index b158b741ba..ccd9397df4 100644
--- a/include/configs/luan.h
+++ b/include/configs/luan.h
@@ -53,6 +53,7 @@
#define CONFIG_SYS_LARGE_FLASH 0xffc00000 /* 4MB flash address CS0 */
#define CONFIG_SYS_SMALL_FLASH 0xff900000 /* 1MB flash address CS2 */
#define CONFIG_SYS_SRAM_BASE 0xff800000 /* 1MB SRAM address CS2 */
+#define CONFIG_SYS_SRAM_SIZE (1 << 20)
#define CONFIG_SYS_EPLD_BASE 0xff000000 /* EPLD and FRAM CS1 */
#define CONFIG_SYS_ISRAM_BASE 0xf8000000 /* internal 8k SRAM (L2 cache) */
diff --git a/include/configs/t3corp.h b/include/configs/t3corp.h
index b38886b53f..41ee15b229 100644
--- a/include/configs/t3corp.h
+++ b/include/configs/t3corp.h
@@ -86,6 +86,7 @@
#define CONFIG_SYS_OCM_BASE 0xE7000000 /* OCM: 64k */
#define CONFIG_SYS_SRAM_BASE 0xE8000000 /* SRAM: 256k */
+#define CONFIG_SYS_SRAM_SIZE (256 << 10)
#define CONFIG_SYS_LOCAL_CONF_REGS 0xEF000000
#define CONFIG_SYS_PERIPHERAL_BASE 0xEF600000 /* internal periph. */