u-boot/cpu/ppc4xx
Stefan Roese fb95169e39 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>
2009-10-02 13:53:37 +02:00
..
4xx_ibm_ddr2_autocalib.c ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
4xx_pci.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
4xx_pcie.c ppc4xx: Fix PCIE PLL lock on 440SPe Yucca board 2009-09-23 15:46:08 +02:00
4xx_uart.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
40x_spd_sdram.c ppc4xx: Remove mtsdram0() marcos and use common mtsdram() instead 2009-09-28 10:46:05 +02:00
44x_spd_ddr.c ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case 2009-09-28 10:45:54 +02:00
44x_spd_ddr2.c ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
bedbug_405.c Standardize command usage messages with cmd_usage() 2009-01-28 08:43:45 +01:00
cache.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_chip_config.c Add "chip_config" command for PPC4xx bootstrap configuration 2009-07-24 06:42:32 +02:00
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk ppc: Remove -fno-strict-aliasing 2009-09-04 22:15:48 +02:00
cpu.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
cpu_init.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
dcr.S cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
denali_data_eye.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
denali_spd_ddr2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ecc.c ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
ecc.h ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling 2009-10-02 13:53:37 +02:00
fdt.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
gpio.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
i2c.c i2c: Create common default i2c_[set|get]_bus_speed() functions 2009-06-12 20:39:45 +02:00
interrupts.c ppc4xx: Replace 4xx lowercase SPR references 2009-07-24 06:47:17 +02:00
iop480_uart.c ppc4xx: Consolidate PPC4xx UIC defines 2008-07-11 13:18:13 +02:00
kgdb.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
Makefile Add "chip_config" command for PPC4xx bootstrap configuration 2009-07-24 06:42:32 +02:00
miiphy.c ppc4xx: Fix compilation warning in 4xx miiphy.c 2009-09-10 14:38:17 +02:00
resetvec.S * Code cleanup: 2003-06-27 21:31:46 +00:00
sdram.c ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case 2009-09-28 10:45:54 +02:00
sdram.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c ppc4xx: Consolidate get_OPB_freq() 2009-09-17 14:08:32 +02:00
start.S ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
tlb.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
traps.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
uic.c ppc4xx: Convert PPC4xx UIC defines from lower case to upper case 2009-09-28 10:45:42 +02:00
usb.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb_ohci.c Fix e-mail address of Gary Jennejohn. 2009-05-15 22:11:59 +02:00
usb_ohci.h Replace __attribute references with __attribute__ 2009-04-28 01:01:39 +02:00
usbdev.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
usbdev.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
xilinx_irq.c ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00