Skip to contentSkip to conversation

mpc52xx, uc101: Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE

U-Boot New Heiko Schocher 2 participants 4 messages Sep 13, 2010

lore
Share & tools
lore
#0 lore raw
---
 include/configs/uc101.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
include/configs/uc101.h +1 -3
index fc0b103..1972261 100644
@@ -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
Signature · 5 lines
1.6.2.5

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#1 lore raw

Dear Heiko Schocher,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 include/configs/uc101.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Applied to "next" branch. Thanks

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If something is different, it's either better or worse,  and  usually
both.                                                    - Larry Wall
#2 lore raw

PATCH v2 1/1 mpc52xx: Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE

cleanup for the uc101 and the mucmc52 board.

---
 include/configs/mucmc52.h |    2 ++
 include/configs/uc101.h   |    4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)
include/configs/mucmc52.h +2 -0
index 07ed046..f87dc9c 100644
@@ -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
include/configs/uc101.h +1 -3
index fc0b103..1972261 100644
@@ -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
Signature · 5 lines
1.6.2.5

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#3 lore raw

PATCH v2 1/1 mpc52xx: Cleanup use of CONFIG_SYS_SRAM_BASE and CONFIG_SYS_SRAM_SIZE

Dear Heiko Schocher,

Quoted 7 lines · In message <[email protected]> you wrote:

cleanup for the uc101 and the mucmc52 board.

---
 include/configs/mucmc52.h |    2 ++
 include/configs/uc101.h   |    4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

Applied to "next" branch (replaced previous version). Thanks

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Worlds may change, galaxies disintegrate, but a woman always remains a woman.
-- Kirk, "The Conscience of the King", stardate 2818.9