ppc: mpc8xxx: add DDR3 support
Add DDR3 support into the MPC8xxx DDR driver.

To avoid confusion, the function set_ddr_sdram_mode is renamed
set_ddr2_sdram_mode.

Checking for errors is simplified in the DDR2 DIMM parameters
computation to be consistent with DDR3.

This code is derived from the files found in directory drivers/ddr/fsl
from U-Boot version git-be937b5.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 64e3872 commit cbeded2bad56b51a2aa25151931c0de346c00707
@Renaud Barbier Renaud Barbier authored on 13 Mar 2014
Sascha Hauer committed on 19 Mar 2014
Showing 13 changed files
View
arch/ppc/ddr-8xxx/Makefile
View
arch/ppc/ddr-8xxx/common_timing_params.h
View
arch/ppc/ddr-8xxx/ctrl_regs.c
View
arch/ppc/ddr-8xxx/ddr.h
View
arch/ppc/ddr-8xxx/ddr2_dimm_params.c
View
arch/ppc/ddr-8xxx/ddr2_setctrl.c 100644 → 0
View
arch/ppc/ddr-8xxx/ddr3_dimm_params.c 0 → 100644
View
arch/ppc/ddr-8xxx/ddr_setctrl.c 0 → 100644
View
arch/ppc/ddr-8xxx/lc_common_dimm_params.c
View
arch/ppc/ddr-8xxx/main.c
View
arch/ppc/ddr-8xxx/options.c
View
arch/ppc/include/asm/fsl_ddr_dimm_params.h
View
arch/ppc/include/asm/fsl_ddr_sdram.h