summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2016-06-07 08:31:22 +0200
committerTom Rini <trini@konsulko.com>2016-06-09 13:53:09 -0400
commit3d4f628d2f6043c3b3ce1fabf2c2286456c02e77 (patch)
treefb5767fabafcccc0d4be9ff8c96a2919dafa9f77
parenta5e27b416fd2068e2e9c01b307f449e29e7abcb5 (diff)
downloadblackbird-obmc-uboot-3d4f628d2f6043c3b3ce1fabf2c2286456c02e77.tar.gz
blackbird-obmc-uboot-3d4f628d2f6043c3b3ce1fabf2c2286456c02e77.zip
mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx
Enable 8bit interface on HSMMC2 for am33xx to support 8bit eMMC chips. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/mmc/omap_hsmmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index be34057ea2..d007b56293 100644
--- a/drivers/mmc/omap_hsmmc.c
+++ b/drivers/mmc/omap_hsmmc.c
@@ -701,6 +701,7 @@ int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio,
priv_data->base_addr = (struct hsmmc *)OMAP_HSMMC2_BASE;
#if (defined(CONFIG_OMAP44XX) || defined(CONFIG_OMAP54XX) || \
defined(CONFIG_DRA7XX) || defined(CONFIG_AM57XX) || \
+ defined(CONFIG_AM33XX) || \
defined(CONFIG_AM43XX) || defined(CONFIG_SOC_KEYSTONE)) && \
defined(CONFIG_HSMMC2_8BIT)
/* Enable 8-bit interface for eMMC on OMAP4/5 or DRA7XX */
OpenPOWER on IntegriCloud