diff options
author | John Rigby <john.rigby@linaro.org> | 2011-04-19 05:48:14 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-04-29 03:22:17 -0500 |
commit | 4ca9244d74f146a0605f5bee28a66e39aae88d3e (patch) | |
tree | 3845de661f7730fe033b9849a190218fb5322e3c /drivers/mmc | |
parent | 8feafcc49c0b7a9c541904f95a43dbef2fecc38b (diff) | |
download | u-boot-imx-4ca9244d74f146a0605f5bee28a66e39aae88d3e.zip u-boot-imx-4ca9244d74f146a0605f5bee28a66e39aae88d3e.tar.gz u-boot-imx-4ca9244d74f146a0605f5bee28a66e39aae88d3e.tar.bz2 |
MMC: omap_hsmmc.c: disable multiblock rw on old rev omap34xx silicon
Signed-off-by: John Rigby <john.rigby@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index dcbde89..957b987 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -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; |