mmc: omap_hsmmc: enable proper CMD(DAT) lines reset procedure for am43xx
authorNikita Kiryanov <nikita@compulab.co.il>
Thu, 30 Jul 2015 20:56:20 +0000 (23:56 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:19:13 +0000 (10:19 +0200)
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 <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 cf64a84..1d98ef3 100644 (file)
@@ -304,7 +304,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)) {