提交 4ca9244d 编写于 作者: J John Rigby 提交者: Andy Fleming

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

Signed-off-by: NJohn Rigby <john.rigby@linaro.org>
上级 8feafcc4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册