From: Nikita Kiryanov Date: Thu, 30 Jul 2015 20:56:20 +0000 (+0300) Subject: mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx X-Git-Tag: v2015.10-rc2~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dce55b934d099b41eccbcae4d71b360cec86b72b;p=u-boot mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx The CMD(DAT) lines reset procedure described in the OMAP4(AM335x, OMAP5, DRA7xx) TRMs is also necessary for AM43XX. Enable it in the driver. Cc: Pantelis Antoniou Cc: Igor Grinberg Cc: Albert Aribaud Signed-off-by: Nikita Kiryanov --- diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index 8238a7e8e0..d31695e59c 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -296,7 +296,7 @@ static void mmc_reset_controller_fsm(struct hsmmc *mmc_base, u32 bit) * (reset procedure is completed). */ #if defined(CONFIG_OMAP44XX) || defined(CONFIG_OMAP54XX) || \ - defined(CONFIG_AM33XX) + defined(CONFIG_AM33XX) || defined(CONFIG_AM43XX) if (!(readl(&mmc_base->sysctl) & bit)) { start = get_timer(0); while (!(readl(&mmc_base->sysctl) & bit)) {