fsl_esdhc: Add the workaround for erratum ESDHC-A001 (enable on P2020)
authorKumar Gala <galak@kernel.crashing.org>
Sat, 29 Jan 2011 21:36:10 +0000 (15:36 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 3 Feb 2011 08:46:12 +0000 (02:46 -0600)
commit5103a03a0be2fd1a5270046d9f2bc77916e33a56
tree969486ff9a138e255386e4767525027454235448
parent6e7f0bc0ce33adbd028f4e34b7e9d3bf46e0f95b
fsl_esdhc: Add the workaround for erratum ESDHC-A001 (enable on P2020)

Data timeout counter (SYSCTL[DTOCV]) is not reliable for values of 4, 8,
and 12. Program one more than the desired value: 4 -> 5, 8 -> 9, 12 -> 13.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/include/asm/config_mpc85xx.h
drivers/mmc/fsl_esdhc.c