mmc: mmci: support 8bit mode on the Nomadik
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Jan 2016 01:22:08 +0000 (02:22 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 14 Jan 2016 09:47:46 +0000 (10:47 +0100)
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>
drivers/mmc/host/mmci.c

index acece32..0d6ca41 100644 (file)
@@ -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,