summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-07-30 23:56:20 +0300
committerTom Rini <trini@konsulko.com>2015-08-12 20:48:04 -0400
commitdce55b934d099b41eccbcae4d71b360cec86b72b (patch)
treeec7a34b2674a902365e10d1b4e401d5eda845f27 /drivers
parent6ff31a7f706c04d65e7d08541c4aa041d8c95467 (diff)
downloadu-boot-imx-dce55b934d099b41eccbcae4d71b360cec86b72b.zip
u-boot-imx-dce55b934d099b41eccbcae4d71b360cec86b72b.tar.gz
u-boot-imx-dce55b934d099b41eccbcae4d71b360cec86b72b.tar.bz2
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 <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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/omap_hsmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c
index 8238a7e..d31695e 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)) {