mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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:
parent
8feafcc49c
commit
4ca9244d74
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue