From: TsiChung Liew Date: Wed, 18 Feb 2009 11:49:31 +0000 (+0000) Subject: ColdFire: Fix M54451 serial boot dram setup X-Git-Tag: v2009.03~15^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3a9e6374210679a81f611c1bcf968988bc20e41;p=oweals%2Fu-boot.git 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 --- diff --git a/cpu/mcf5445x/start.S b/cpu/mcf5445x/start.S index d5a7f937f2..26fb2ce0cb 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