summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-01-04 02:22:08 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2016-01-14 10:47:46 +0100
commitf5abc767bffb953438074d5cc4723e6da8dbcf71 (patch)
treef9b3dd227116c360769d3fdb0ac15785193b2469 /drivers/mmc
parent0bcb7efdff63564e80fe84dd36a9fbdfbf6697a4 (diff)
downloadlinux-f5abc767bffb953438074d5cc4723e6da8dbcf71.tar.gz
linux-f5abc767bffb953438074d5cc4723e6da8dbcf71.tar.bz2
linux-f5abc767bffb953438074d5cc4723e6da8dbcf71.zip
mmc: mmci: support 8bit mode on the Nomadik
The Nomadik variant supports 8bit mode for (e)MMC cards. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mmci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index acece3299756..0d6ca4116f3d 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -151,6 +151,7 @@ static struct variant_data variant_nomadik = {
.fifosize = 16 * 4,
.fifohalfsize = 8 * 4,
.clkreg = MCI_CLK_ENABLE,
+ .clkreg_8bit_bus_enable = MCI_ST_8BIT_BUS,
.datalength_bits = 24,
.datactrl_mask_sdio = MCI_ST_DPSM_SDIOEN,
.st_sdio = true,