ColdFire: Fix M54451 serial boot dram setup
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Wed, 18 Feb 2009 11:49:31 +0000 (11:49 +0000)
committerJohn Rigby <jrigby@freescale.com>
Tue, 17 Mar 2009 21:58:37 +0000 (15:58 -0600)
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>
cpu/mcf5445x/start.S

index d5a7f937f201a9c69331a4111d37af38c87388f8..26fb2ce0cbd8933407fb19830358fe83eadf5c98 100644 (file)
@@ -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