diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2011-02-17 02:12:38 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-15 13:49:30 -0400 |
commit | c9b2a06fb0efda37241861915a8639c27bddaa85 (patch) | |
tree | 5fb3c645c634193cfa8baab5c8272f8e002fd011 /drivers | |
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>
Diffstat (limited to 'drivers')
-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) | |||
673 | case MMC_BUS_WIDTH_4: | 673 | case MMC_BUS_WIDTH_4: |
674 | slot->ctype = SDMMC_CTYPE_4BIT; | 674 | slot->ctype = SDMMC_CTYPE_4BIT; |
675 | break; | 675 | break; |
676 | case MMC_BUS_WIDTH_8: | ||
677 | slot->ctype = SDMMC_CTYPE_8BIT; | ||
678 | break; | ||
676 | } | 679 | } |
677 | 680 | ||
678 | if (ios->clock) { | 681 | if (ios->clock) { |