projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcb7ef
)
mmc: mmci: support 8bit mode on the Nomadik
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 4 Jan 2016 01:22:08 +0000
(
02:22
+0100)
committer
Ulf 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
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mmci.c
b/drivers/mmc/host/mmci.c
index
acece32
..
0d6ca41
100644
(file)
--- 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,