Commit 4ca9244d authored by John Rigby's avatar John Rigby Committed by Andy Fleming

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

Signed-off-by: default avatarJohn Rigby <john.rigby@linaro.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment