From: TsiChung Liew <tsi-chung.l...@freescale.com>

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.l...@freescale.com>
---
 cpu/mcf5445x/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu/mcf5445x/start.S b/cpu/mcf5445x/start.S
index d5a7f93..26fb2ce 100644
--- a/cpu/mcf5445x/start.S
+++ b/cpu/mcf5445x/start.S
@@ -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
 
-- 
1.5.6.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to