diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2011-02-17 16:12:38 +0900 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-15 13:49:30 -0400 |
commit | c9b2a06fb0efda37241861915a8639c27bddaa85 (patch) | |
tree | 5fb3c645c634193cfa8baab5c8272f8e002fd011 | |
parent | 37b7785e3ac5128809340eaeb791ca7a471c4e32 (diff) |
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>
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 3 |
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) { |