aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2009-02-18 11:49:31 +0000
committerJohn Rigby <jrigby@freescale.com>2009-03-17 15:58:37 -0600
commitc3a9e6374210679a81f611c1bcf968988bc20e41 (patch)
tree8776b1a13a42aadca002e2db96dbae00c8f39d54 /cpu
parent32d11d58159a575f08a982cad8a5a941ffe5cc3d (diff)
downloadu-boot-c3a9e6374210679a81f611c1bcf968988bc20e41.zip
u-boot-c3a9e6374210679a81f611c1bcf968988bc20e41.tar.gz
u-boot-c3a9e6374210679a81f611c1bcf968988bc20e41.tar.bz2
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>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mcf5445x/start.S4
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