diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index dfa6f87b6cc2..dc41b9e4299e 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -92,6 +92,7 @@ | |||
92 | #define MSBS (1 << 5) | 92 | #define MSBS (1 << 5) |
93 | #define BCE (1 << 1) | 93 | #define BCE (1 << 1) |
94 | #define FOUR_BIT (1 << 1) | 94 | #define FOUR_BIT (1 << 1) |
95 | #define DDR (1 << 19) | ||
95 | #define DW8 (1 << 5) | 96 | #define DW8 (1 << 5) |
96 | #define CC 0x1 | 97 | #define CC 0x1 |
97 | #define TC 0x02 | 98 | #define TC 0x02 |
@@ -523,6 +524,10 @@ static void omap_hsmmc_set_bus_width(struct omap_hsmmc_host *host) | |||
523 | u32 con; | 524 | u32 con; |
524 | 525 | ||
525 | con = OMAP_HSMMC_READ(host->base, CON); | 526 | con = OMAP_HSMMC_READ(host->base, CON); |
527 | if (ios->timing == MMC_TIMING_UHS_DDR50) | ||
528 | con |= DDR; /* configure in DDR mode */ | ||
529 | else | ||
530 | con &= ~DDR; | ||
526 | switch (ios->bus_width) { | 531 | switch (ios->bus_width) { |
527 | case MMC_BUS_WIDTH_8: | 532 | case MMC_BUS_WIDTH_8: |
528 | OMAP_HSMMC_WRITE(host->base, CON, con | DW8); | 533 | OMAP_HSMMC_WRITE(host->base, CON, con | DW8); |