driver/ddr/fsl: Add workaround for DDR erratum A008511
authorYork Sun <yorksun@freescale.com>
Thu, 19 Mar 2015 16:30:29 +0000 (09:30 -0700)
committerYork Sun <yorksun@freescale.com>
Thu, 23 Apr 2015 15:55:54 +0000 (08:55 -0700)
commit9f9f0093730f91d95cb8e9546155ae6a3286159e
tree1d36b95e502a862e848187336cadb0a51a92b65c
parent4516ff816084605990115d127df97950c23e389c
driver/ddr/fsl: Add workaround for DDR erratum A008511

This erratum only applies to general purpose DDR controllers in LS2.
It shouldn't be applied to DP-DDR controller. Check DDRC versoin number
before applying workaround.

Signed-off-by: York Sun <yorksun@freescale.com>
drivers/ddr/fsl/fsl_ddr_gen4.c
include/fsl_ddr_sdram.h