From 6527a57b5715ac7a9aafd2f2f638ad88567d82f9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 19 Dec 2011 17:37:11 -0800 Subject: CHROMIUM: mmc: Enable 8-bit for eMMC Until we bring in the newer MMC code from upstream, this enables 8-bit support with a minimum of changes. BUG=chromium-os:22938 TEST=build and boot on Kaen Change-Id: I5c3f5e6f4003ae63e08208d9afba66aef8d97ccf Reviewed-on: https://gerrit.chromium.org/gerrit/13202 Reviewed-by: Che-Liang Chiou Reviewed-by: Tom Warren Commit-Ready: Simon Glass Tested-by: Simon Glass Reviewed-by: Simon Glass --- drivers/mmc/mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 5ea693818c..76eaf15c7f 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -552,7 +552,8 @@ int mmc_change_freq(struct mmc *mmc) if (mmc->version < MMC_VERSION_4) goto out; - mmc->card_caps |= MMC_MODE_4BIT; + /* Tegra: temporary fix */ + mmc->card_caps |= MMC_MODE_4BIT | MMC_MODE_8BIT; err = mmc_send_ext_csd(mmc, ext_csd); -- cgit v1.2.3