]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: DDR/ECC: Use correct macros to clear error status
authorStefan Roese <sr@denx.de>
Wed, 21 Jul 2010 09:08:27 +0000 (11:08 +0200)
committerStefan Roese <sr@denx.de>
Fri, 23 Jul 2010 07:54:28 +0000 (09:54 +0200)
commitb995d7cb2c1e47305cd7feb2513ed37d30f8edd3
tree67ece77e91c2b489ccbdd53000a7a4d33176e623
parent897d6abc50e95fb57fa6952c27deae5776ba08cc
ppc4xx: DDR/ECC: Use correct macros to clear error status

Use the correct macro instead of the hardcoded 0x4c to clear the ECC
status in the 440/460 DDR(2) error status register after ECC
initialization.

Also the non-440 parts (405EX(r) right now) and the IBM DDR PPC variants
(440GX) use a different registers to clear this error status. Use the
correct ones.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/ecc.c
arch/powerpc/include/asm/ppc4xx-sdram.h