driver/ddr/fsl: Add workaround for erratum A-010165
authorShengzhou Liu <Shengzhou.Liu@nxp.com>
Tue, 10 May 2016 08:03:47 +0000 (16:03 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 May 2016 15:51:47 +0000 (08:51 -0700)
commit019a147b658631921a5d9d429a9097b33e142d78
tree07f42d9e80eef78c563309483506135d4723235c
parent397b0d9e2971e6956399b7efd7737c962dd63c81
driver/ddr/fsl: Add workaround for erratum A-010165

During DDR-2133 operation, the transmit data eye margins determined
during the memory controller initialization may be sub-optimal, set
DEBUG_29[12] and DEBUG_29[13:16] = 4'b0100 before MEM_EN is set.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/arch-fsl-layerscape/config.h
drivers/ddr/fsl/fsl_ddr_gen4.c