MMC: omap_hsmmc.c: disable multiblock rw on old rev omap34xx silicon

Signed-off-by: John Rigby <john.rigby@linaro.org>
This commit is contained in:
John Rigby 2011-04-19 05:48:14 +00:00 committed by Andy Fleming
parent 8feafcc49c
commit 4ca9244d74

View file

@ -467,6 +467,14 @@ int omap_mmc_init(int dev_index)
mmc->b_max = 0;
#if defined(CONFIG_OMAP34XX)
/*
* Silicon revs 2.1 and older do not support multiblock transfers.
*/
if ((get_cpu_family() == CPU_OMAP34XX) && (get_cpu_rev() <= CPU_3XX_ES21))
mmc->b_max = 1;
#endif
mmc_register(mmc);
return 0;