]> git.sur5r.net Git - u-boot/commitdiff
mmc: omap_hsmmc: enable 8bit interface for eMMC for AM43xx
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 30 Jul 2015 20:56:21 +0000 (23:56 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:48:04 +0000 (20:48 -0400)
Enable 8bit interface on HSMMC2 for am43xx to support 8bit eMMC chips.

Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
drivers/mmc/omap_hsmmc.c

index d31695e59c14c143dd0b7e3fc789a3aae4befb84..d7b388f3f4b2d926a50f062a021bb363bb112445 100644 (file)
@@ -661,8 +661,8 @@ int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
        case 1:
                priv_data->base_addr = (struct hsmmc *)OMAP_HSMMC2_BASE;
 #if (defined(CONFIG_OMAP44XX) || defined(CONFIG_OMAP54XX) || \
-     defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX)) && \
-               defined(CONFIG_HSMMC2_8BIT)
+       defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX) || \
+       defined(CONFIG_AM43XX)) && defined(CONFIG_HSMMC2_8BIT)
                /* Enable 8-bit interface for eMMC on OMAP4/5 or DRA7XX */
                host_caps_val |= MMC_MODE_8BIT;
 #endif