Skip to contentSkip to conversation

ColdFire: Fix M54451 serial boot dram setup

PATCH New Tsi-Chung Liew 1 participant 1 message Mar 17, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ColdFire: Fix M54451 serial boot dram setup

From: TsiChung Liew <[email protected]>

The serial boot dram extended/standard mode register was not setup and was using default DRAM setup causing the U-boot was unstable to boot up in serial mode.

---
 cpu/mcf5445x/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
cpu/mcf5445x/start.S +2 -2
index d5a7f93..26fb2ce 100644
@@ -243,9 +243,9 @@ wait1000:
 	nop
 #elif defined(CONFIG_M54451EVB)
 	/* Issue LEMR */
-	move.l	#(CONFIG_SYS_SDRAM_MODE), (%a2)
+	move.l	#(CONFIG_SYS_SDRAM_MODE), (%a1)
 	nop
-	move.l	#(CONFIG_SYS_SDRAM_EMOD), (%a2)
+	move.l	#(CONFIG_SYS_SDRAM_EMOD), (%a1)
 	nop
 #endif
 
Signature · 1 line
1.5.6.4