diff options
author | Stefan Roese <sr@denx.de> | 2007-05-21 07:41:22 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-05-21 07:41:22 +0200 |
commit | 10603d76767426be803dadd4fb688b97eb69481c (patch) | |
tree | 8362a23d50b3d4e3fd84fc9d8a2d54fa8affd208 /cpu/ppc4xx | |
parent | ee96088ca59d871ec096aefce04b741d1b02cb30 (diff) | |
download | u-boot-imx-10603d76767426be803dadd4fb688b97eb69481c.zip u-boot-imx-10603d76767426be803dadd4fb688b97eb69481c.tar.gz u-boot-imx-10603d76767426be803dadd4fb688b97eb69481c.tar.bz2 |
ppc4xx: Fix problem in 405EZ OCM initialization
As spotted by Bruce Adler this patch fixes an initialization problem
for the 405EZ OCM.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r-- | cpu/ppc4xx/start.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index a96083c..85660b4 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 */ |