From: Maxime Ripard Date: Fri, 4 Nov 2016 15:18:09 +0000 (+0100) Subject: mmc: sunxi: Enable 8bits bus width for sun8i X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb013184672003bac0b6d05b4a9f06a556821004;p=project%2Fbcm63xx%2Fu-boot.git 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 Reviewed-by: Chen-Yu Tsai Reviewed-by: Hans de Goede --- diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index 6953accce1..b8716c93cb 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