Skip to content
Snippets Groups Projects
Commit 4ca9244d authored by John Rigby's avatar John Rigby Committed by Andy Fleming
Browse files

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

parent 8feafcc4
No related branches found
No related tags found
No related merge requests found
...@@ -467,6 +467,14 @@ int omap_mmc_init(int dev_index) ...@@ -467,6 +467,14 @@ int omap_mmc_init(int dev_index)
mmc->b_max = 0; 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); mmc_register(mmc);
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment