diff options
author | Mike J. Chen <mjchen@google.com> | 2012-03-22 15:51:03 -0700 |
---|---|---|
committer | Mike J. Chen <mjchen@google.com> | 2012-03-23 15:46:43 -0700 |
commit | fc7400093da994e9855cc045f9f8e226f4817e85 (patch) | |
tree | 96f7ca97caf32dd5106e857ffe21674937f21aed | |
parent | 43b06888a686ffb00dc37ec94e757f0a63d9791d (diff) | |
download | uboot-fc7400093da994e9855cc045f9f8e226f4817e85.tar.gz |
ARMV7: OMAP3: MMC: Enable 8-bit mode for MMC1 and MMC2 controllers
MMC0 is the only one limited to 4-bit on OMAP3.
Change-Id: I31e922d39e4b23c3cc41f77f50d1ee572cc33364
Signed-off-by: Mike J. Chen <mjchen@google.com>
-rw-r--r-- | drivers/mmc/omap_hsmmc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index fbac289a5..b65f72cca 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -734,6 +734,10 @@ int omap_mmc_init(int dev_index) */ if ((get_cpu_family() == CPU_OMAP34XX) && (get_cpu_rev() <= CPU_3XX_ES21)) mmc->b_max = 1; + + /* MMC1 and MMC2 support 8-bit, but MMC0 only supports 4-bit */ + if (dev_index != 0) + mmc->host_caps |= MMC_MODE_8BIT; #endif mmc_register(mmc); |