mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 04:50:19 +01: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;
|
||||
|
||||
#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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue