summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJaehoon Chung2011-02-17 08:12:38 +0100
committerChris Ball2011-03-15 18:49:30 +0100
commitc9b2a06fb0efda37241861915a8639c27bddaa85 (patch)
tree5fb3c645c634193cfa8baab5c8272f8e002fd011 /drivers/mmc
parentmmc: dw_mmc: modify quirks bit-shift control (diff)
downloadkernel-qcow2-linux-c9b2a06fb0efda37241861915a8639c27bddaa85.tar.gz
kernel-qcow2-linux-c9b2a06fb0efda37241861915a8639c27bddaa85.tar.xz
kernel-qcow2-linux-c9b2a06fb0efda37241861915a8639c27bddaa85.zip
mmc: dw_mmc: support 8-bit buswidth
This patch adds support for 8-bit buswidth. dw_mmc can use 8-bit buswidth and set to CTYPE_8BIT in card-type register. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index cd6d8212dacc..62c8440ff04b 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -673,6 +673,9 @@ static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
case MMC_BUS_WIDTH_4:
slot->ctype = SDMMC_CTYPE_4BIT;
break;
+ case MMC_BUS_WIDTH_8:
+ slot->ctype = SDMMC_CTYPE_8BIT;
+ break;
}
if (ios->clock) {