From: Heiko Schocher <hs@denx.de>
Date: Mon, 13 Sep 2010 10:12:33 +0000 (+0200)
Subject: mpc52xx: Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE
X-Git-Tag: v2025.01-rc5-pxa1908~20078^2~61
X-Git-Url: http://git.dujemihanovic.xyz/repo?a=commitdiff_plain;h=d1831c5ee61a2d3f8c2248eb9822d5a9c8c9c017;p=u-boot.git

mpc52xx: Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE

cleanup for the uc101 and the mucmc52 board.

Signed-off-by: Heiko Schocher <hs@denx.de>
---

diff --git a/include/configs/mucmc52.h b/include/configs/mucmc52.h
index 07ed046199..f87dc9c650 100644
--- a/include/configs/mucmc52.h
+++ b/include/configs/mucmc52.h
@@ -80,6 +80,8 @@
 #define	CONFIG_SYS_CS1_SIZE		0x00100000
 #define	CONFIG_SYS_CS1_CFG		0x00019B00
 
+#define CONFIG_SYS_SRAM_SIZE		CONFIG_SYS_CS1_SIZE
+
 /* FRAM 32Kbyte @0x80700000 */
 #define	CONFIG_SYS_CS2_START		0x80700000
 #define	CONFIG_SYS_CS2_SIZE		0x00008000
diff --git a/include/configs/uc101.h b/include/configs/uc101.h
index fc0b103fbb..19722615a6 100644
--- a/include/configs/uc101.h
+++ b/include/configs/uc101.h
@@ -65,9 +65,7 @@
 #define CONFIG_SYS_IB_EPLD		0xc0500000	/* CS 7 */
 
 /* SRAM */
-#define SRAM_BASE		CONFIG_SYS_SRAM_BASE
-#define SRAM_LEN		0x1fffff
-#define SRAM_END		(SRAM_BASE + SRAM_LEN)
+#define CONFIG_SYS_SRAM_SIZE	0x200000
 
 /*
  * GPIO configuration