From: John Rigby Date: Tue, 19 Apr 2011 05:48:14 +0000 (+0000) Subject: MMC: omap_hsmmc.c: disable multiblock rw on old rev omap34xx silicon X-Git-Tag: v2011.06-rc1~119^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ca9244d74f146a0605f5bee28a66e39aae88d3e;p=u-boot MMC: omap_hsmmc.c: disable multiblock rw on old rev omap34xx silicon Signed-off-by: John Rigby --- diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index dcbde8935a..957b9877a0 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -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;