diff options
author | Roy Zang <tie-fei.zang@freescale.com> | 2011-01-07 00:24:27 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-01-14 01:32:22 -0600 |
commit | ae026ffd1e1a3f98b13c121acf5a677a5925a0e1 (patch) | |
tree | 07042933aab306f9686495de4af8e1cca26f4c67 /arch/powerpc/cpu/mpc85xx/cpu_init.c | |
parent | 3b4456ec391877a950dd5e98ee20df6560f0e1af (diff) | |
download | u-boot-imx-ae026ffd1e1a3f98b13c121acf5a677a5925a0e1.zip u-boot-imx-ae026ffd1e1a3f98b13c121acf5a677a5925a0e1.tar.gz u-boot-imx-ae026ffd1e1a3f98b13c121acf5a677a5925a0e1.tar.bz2 |
fsl_esdhc: Add the workaround for erratum ESDHC136 (enable on P4080)
False multi-bit ECC errors will be reported by the eSDHC buffer which
can trigger a reset request.
We disable all ECC error checking on SDHC.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cpu_init.c')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 1d016c4..354b222 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -394,6 +394,14 @@ int cpu_init_r(void) setup_mp(); #endif +#ifdef CONFIG_SYS_FSL_ERRATUM_ESDHC136 + { + void *p; + p = (void *)CONFIG_SYS_DCSRBAR + 0x20520; + setbits_be32(p, 1 << (31 - 14)); + } +#endif + #ifdef CONFIG_SYS_LBC_LCRR /* * Modify the CLKDIV field of LCRR register to improve the writing |