]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
4xx: add missing CONFIG_SYS_SRAM_SIZE definition
authorWolfgang Denk <wd@denx.de>
Fri, 10 Sep 2010 21:04:05 +0000 (23:04 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 19 Sep 2010 17:29:46 +0000 (19:29 +0200)
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>
include/configs/bubinga.h
include/configs/canyonlands.h
include/configs/intip.h
include/configs/luan.h
include/configs/t3corp.h

index 627060a759116aa2c96d7a8cb026062cd6433af5..159a265d255a0c7c50f7fc339a5c566db8f1a3a4 100644 (file)
  * (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
 
 /*-----------------------------------------------------------------------
index 6fe7639e86c3c7d2c11ea3293a736d7fb1a092e4..e2c58a51ab11760b00d4cc11aafe03b8f815b37d 100644 (file)
 
 #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 */
index 19f12fa770a1cd713a30ec2ae36b0525853e9aa4..0c0bb373bdde6ddedaa5c110fbea103ebff517eb 100644 (file)
@@ -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. */
index b158b741ba36d58021759308ead28c74d5c77c4c..ccd9397df4ee01080bcec1340a315e5e07e73a37 100644 (file)
@@ -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) */
index b38886b53f3ed506e100fa8141165a2806820368..41ee15b229194513a60eda718c797425f314d8f2 100644 (file)
@@ -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. */