projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9003dc
)
mmc: sunxi: Enable 8bits bus width for sun8i
author
Maxime Ripard
<maxime.ripard@free-electrons.com>
Fri, 4 Nov 2016 15:18:09 +0000
(16:18 +0100)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 16 Nov 2016 04:30:17 +0000
(13:30 +0900)
The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the
support for those too.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/mmc/sunxi_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/sunxi_mmc.c
b/drivers/mmc/sunxi_mmc.c
index 6953accce1234fe8c4bba78551e9f9e203473316..b8716c93cb06df7e04f3d3b3719c50cee65bf8f7 100644
(file)
--- a/
drivers/mmc/sunxi_mmc.c
+++ b/
drivers/mmc/sunxi_mmc.c
@@
-463,7
+463,7
@@
struct mmc *sunxi_mmc_init(int sdc_no)
cfg->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
cfg->host_caps = MMC_MODE_4BIT;
-#if
def CONFIG_MACH_SUN50I
+#if
defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN8I)
if (sdc_no == 2)
cfg->host_caps = MMC_MODE_8BIT;
#endif