summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-11-04 16:18:09 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2016-11-16 13:30:17 +0900
commitfb013184672003bac0b6d05b4a9f06a556821004 (patch)
treed4a5d38b312541861427a3fef95bcdb6b0f4c527 /drivers
parenta9003dc641cf881992897585392567811652de09 (diff)
downloadu-boot-imx-fb013184672003bac0b6d05b4a9f06a556821004.zip
u-boot-imx-fb013184672003bac0b6d05b4a9f06a556821004.tar.gz
u-boot-imx-fb013184672003bac0b6d05b4a9f06a556821004.tar.bz2
mmc: sunxi: Enable 8bits bus width for sun8i
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/sunxi_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 6953acc..b8716c9 100644
--- 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;
-#ifdef CONFIG_MACH_SUN50I
+#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN8I)
if (sdc_no == 2)
cfg->host_caps = MMC_MODE_8BIT;
#endif