]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling
authorStefan Roese <sr@denx.de>
Mon, 28 Sep 2009 15:33:45 +0000 (17:33 +0200)
committerStefan Roese <sr@denx.de>
Fri, 2 Oct 2009 11:53:37 +0000 (13:53 +0200)
commitfb95169e39f2d03270bed552d27bbb02627a443e
treec94e691e322097c7cdc43943cd3bb05b3e7c760e
parentd24bd2517a2b847f773453eab0ee5b1c8ebc74ba
ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling

This patch merges the ECC handling (ECC parity byte writing) into one
file (ecc.c) for all PPC4xx SDRAM controllers except for PPC440EPx/GRx.
This exception is because only those PPC's use the completely different
Denali SDRAM controller core.

Previously we had two routines to generate/write the ECC parity bytes.
With this patch we now only have one core function left.

Tested on Kilauea (no ECC) and Katmai (with and without ECC).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Felix Radensky <felix@embedded-sol.com>
Cc: Grant Erickson <gerickson@nuovations.com>
Cc: Pieter Voorthuijsen <pv@prodrive.nl>
cpu/ppc4xx/44x_spd_ddr2.c
cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c
cpu/ppc4xx/ecc.c
cpu/ppc4xx/ecc.h
include/asm-ppc/ppc4xx-sdram.h
include/ppc405.h