-
- Downloads
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>
Showing
- cpu/ppc4xx/44x_spd_ddr2.c 21 additions, 173 deletionscpu/ppc4xx/44x_spd_ddr2.c
- cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c 4 additions, 2 deletionscpu/ppc4xx/4xx_ibm_ddr2_autocalib.c
- cpu/ppc4xx/ecc.c 115 additions, 52 deletionscpu/ppc4xx/ecc.c
- cpu/ppc4xx/ecc.h 29 additions, 23 deletionscpu/ppc4xx/ecc.h
- include/asm-ppc/ppc4xx-sdram.h 4 additions, 3 deletionsinclude/asm-ppc/ppc4xx-sdram.h
- include/ppc405.h 0 additions, 4 deletionsinclude/ppc405.h
Loading
Please register or sign in to comment