[U-Boot] [Patch v2 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

Kumar Gala kumar.gala at freescale.com
Fri Sep 16 16:57:10 CEST 2011


On Aug 26, 2011, at 1:32 PM, York Sun wrote:

> Unified DDR driver is maintained for better performance, robustness and bug
> fixes. Upgrading to use unified DDR driver for MPC83xx takes advantage of
> overall improvement. It requires changes for board files to customize
> platform-dependent parameters.
> 
> To utilize the unified DDR driver, a board needs to define CONFIG_FSL_DDRx
> in the header file. No more boards will be accepted without such definition.
> 
> Note: the workaround for erratum DDR6 for the very old MPC834x Rev 1.0/1.1
> and MPC8360 Rev 1.1/1.2 parts is not migrated to unified driver.
> 
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> Signed-off-by: York Sun <yorksun at freescale.com>
> ---
> Makefile                                 |    1 +
> arch/powerpc/cpu/mpc83xx/Makefile        |   20 +++++-
> arch/powerpc/cpu/mpc83xx/ecc.c           |   18 ++++--
> arch/powerpc/cpu/mpc83xx/law.c           |   61 ++++++++++++++++
> arch/powerpc/cpu/mpc83xx/speed.c         |    9 +++
> arch/powerpc/cpu/mpc85xx/ddr-gen2.c      |    8 ++-
> arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c |    4 +-
> arch/powerpc/cpu/mpc8xxx/ddr/util.c      |    9 ++-
> arch/powerpc/include/asm/config.h        |    5 +-
> arch/powerpc/include/asm/immap_83xx.h    |  117 +++++++++++++++++++++++++++++-
> common/Makefile                          |    8 ++-
> include/common.h                         |    4 +-
> 12 files changed, 245 insertions(+), 19 deletions(-)
> create mode 100644 arch/powerpc/cpu/mpc83xx/law.c

applied to 85xx 'next'

- k



More information about the U-Boot mailing list