diff options
| author | York Sun <yorksun@freescale.com> | 2011-01-25 22:05:49 -0800 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2011-02-03 02:46:13 -0600 | 
| commit | 91671913f7db59dd876e86433d8f3462dbf66588 (patch) | |
| tree | a0a4d7143d19f3373cad4b964cc0230edbe9c9b4 /arch/powerpc/include/asm/fsl_ddr_sdram.h | |
| parent | eb0aff77c83f70a01dfe47d72b08467c157f7a8b (diff) | |
| download | olio-uboot-2014.01-91671913f7db59dd876e86433d8f3462dbf66588.tar.xz olio-uboot-2014.01-91671913f7db59dd876e86433d8f3462dbf66588.zip | |
powerpc/mpc85xx: implement workaround for errata DDR111 and DDR134
Workaround for the following errata:
DDR111 - MCKE signal may not function correctly at assertion of HRESET
DDR134 - The automatic CAS-to-Preamble feature of the DDR controller can
         calibrate to incorrect values
These two workarounds must be implemented together because they touch
common registers.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_ddr_sdram.h')
| -rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_sdram.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/arch/powerpc/include/asm/fsl_ddr_sdram.h b/arch/powerpc/include/asm/fsl_ddr_sdram.h index 852e5c3bd..02a1f5d32 100644 --- a/arch/powerpc/include/asm/fsl_ddr_sdram.h +++ b/arch/powerpc/include/asm/fsl_ddr_sdram.h @@ -89,6 +89,11 @@ typedef ddr3_spd_eeprom_t generic_spd_eeprom_t;  #define SDRAM_CFG_2T_EN			0x00008000  #define SDRAM_CFG_BI			0x00000001 +#define SDRAM_CFG2_D_INIT		0x00000010 +#define SDRAM_CFG2_ODT_CFG_MASK		0x00600000 + +#define TIMING_CFG_2_CPO_MASK	0x0F800000 +  #if defined(CONFIG_P4080)  #define RD_TO_PRE_MASK		0xf  #define RD_TO_PRE_SHIFT		13 |