[U-Boot-Users] ColdFire: M5329 incorrect ram size and ram bar settings

Liew Tsi Chung-r5aahp Tsi-chung.Liew at freescale.com
Wed Oct 17 22:30:41 CEST 2007


Wolfgang,

	This is the M5329 update for incorrect dram size and rambar
settings.

	Thanks,

Regards,
TsiChung


>From 2565932b53e1f97b49bf34628163055763710046 Mon Sep 17 00:00:00 2001
From: TsiChungLiew <Tsi-Chung.Liew at freescale.com>
Date: Wed, 17 Oct 2007 15:16:41 -0500
Subject: [PATCH] ColdFire: Modified M5329EVB incorrect ram size and
rambar

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew at freescale.com>
---
 cpu/mcf532x/start.S        |    2 +-
 include/configs/M5329EVB.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu/mcf532x/start.S b/cpu/mcf532x/start.S
index 5cc1c87..cb1639e 100644
--- a/cpu/mcf532x/start.S
+++ b/cpu/mcf532x/start.S
@@ -131,7 +131,7 @@ _start:
 	movec	%d0, %VBR
 
 	move.l	#(CFG_INIT_RAM_ADDR + CFG_INIT_RAM_CTRL), %d0
-	movec	%d0, %RAMBAR0
+	movec	%d0, %RAMBAR1
 
 	/* invalidate and disable cache */
 	move.l	#0x01000000, %d0		/* Invalidate cache cmd
*/
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index d3b1605..47d74a3 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -175,7 +175,7 @@
  * Please note that CFG_SDRAM_BASE _must_ start at 0
  */
 #define CFG_SDRAM_BASE		0x40000000
-#define CFG_SDRAM_SIZE		16	/* SDRAM size in MB */
+#define CFG_SDRAM_SIZE		32	/* SDRAM size in MB */
 #define CFG_SDRAM_CFG1		0x53722730
 #define CFG_SDRAM_CFG2		0x56670000
 #define CFG_SDRAM_CTRL		0xE1092000
-- 
1.5.2




More information about the U-Boot mailing list