Skip to contentSkip to conversation

dw_mmc: support 8-bit buswidth

PATCH In review Jaehoon Chung 3 participants 3 messages Feb 17, 2011

Subsystems (2)
lore
Share & tools
lore

Jaehoon Chung

author maintainer
#0 lore raw

PATCH 1/1 dw_mmc: support 8-bit buswidth

This patch is supported 8-bit buswidth

dw_mmc can also 8-bit buswidth and set to CTYPE_8BIT in card-type register.

---
 drivers/mmc/host/dw_mmc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mmc/host/dw_mmc.c +3 -0
index 2fcc825..0f6e4a5 100644
@@ -672,6 +672,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) {
#2 lore raw
In reply to Jaehoon Chung
Quoted 3 lines · Jaehoon Chung

This patch is supported 8-bit buswidth

dw_mmc can also 8-bit buswidth and set to CTYPE_8BIT in card-type register.

Thanks, pushed to mmc-next with Will's ACK for .39.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child