mpc85xx: Adding more registers and options
authorYork Sun <yorksun@freescale.com>
Mon, 10 Jan 2011 12:02:59 +0000 (12:02 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 20 Jan 2011 04:58:23 +0000 (22:58 -0600)
commitd2a9568c57f0aa02f097911d3811e002a1eec1b8
tree9cb9c95879bfbc5de66d8ff12f6179d27ae4db0d
parent8ed20f2c178aa44c8e1a35703579fd63350e9f42
mpc85xx: Adding more registers and options

This patch exposes more registers which can be used by the DDR drivers or
interactive debugging. U-boot doesn't use all the registers in DDRC.
When advanced tuning is required, writing to those registers is needed.

Add writing to cdr1, cdr2, err_disable, err_int_en and debug registers
Add options to override rcw, address parity to RDIMMs.
Use array for debug registers.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/ddr-gen3.c
arch/powerpc/include/asm/fsl_ddr_sdram.h
arch/powerpc/include/asm/immap_85xx.h
board/tqc/tqm85xx/sdram.c