Explorar o código

ColdFire: Fix M54451 serial boot dram setup

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.

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew %!s(int64=16) %!d(string=hai) anos
pai
achega
c3a9e63742
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      cpu/mcf5445x/start.S

+ 2 - 2
cpu/mcf5445x/start.S

@@ -243,9 +243,9 @@ wait1000:
 	nop
 	nop
 #elif defined(CONFIG_M54451EVB)
 #elif defined(CONFIG_M54451EVB)
 	/* Issue LEMR */
 	/* Issue LEMR */
-	move.l	#(CONFIG_SYS_SDRAM_MODE), (%a2)
+	move.l	#(CONFIG_SYS_SDRAM_MODE), (%a1)
 	nop
 	nop
-	move.l	#(CONFIG_SYS_SDRAM_EMOD), (%a2)
+	move.l	#(CONFIG_SYS_SDRAM_EMOD), (%a1)
 	nop
 	nop
 #endif
 #endif