From: Stefan Roese Date: Thu, 24 May 2007 07:49:00 +0000 (+0200) Subject: ppc4xx: Fix small 405EZ OCM initilization bug in start.S X-Git-Tag: v1.3.0-rc1~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d756894722c888d09a9fa1df8323753772d3dcce;p=oweals%2Fu-boot.git ppc4xx: Fix small 405EZ OCM initilization bug in start.S As pointed out by Bruce Adler this patch fixes a small bug in the 405EZ OCM initialization. Thanks for spotting. Signed-off-by: Stefan Roese --- diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index a96083caa5..85660b40dc 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -783,7 +783,7 @@ _start: mtdcr ocmdscr2, r3 /* Set Data Side */ mtdcr ocmiscr2, r3 /* Set Instruction Side */ addis r3,0,0x0800 /* OCM Data Parity Disable - 1 Wait State */ - mtdcr ocmdsisdpc,r4 + mtdcr ocmdsisdpc,r3 isync #else /* CONFIG_405EZ */