summaryrefslogtreecommitdiff
path: root/drivers/mmc/fsl_esdhc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-05-05 07:00:38 -0400
committerTom Rini <trini@konsulko.com>2015-05-05 07:00:38 -0400
commitff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c (patch)
treed127b051d0cb5ad8571fc176056600488576bdb5 /drivers/mmc/fsl_esdhc.c
parent3f2f1a00394eb7ce7176f9d0930e40e55ba2c79c (diff)
parent33fe2fb8df01647f97a7bce96a1c7781a7f6d253 (diff)
downloadu-boot-imx-ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c.zip
u-boot-imx-ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c.tar.gz
u-boot-imx-ff7e9cfc338ecd6db5ed7d6ff8fb7a2889b0131c.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r--drivers/mmc/fsl_esdhc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 10ec216..b9bc165 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -387,9 +387,9 @@ esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
/* Workaround for ESDHC errata ENGcm03648 */
if (!data && (cmd->resp_type & MMC_RSP_BUSY)) {
- int timeout = 2500;
+ int timeout = 6000;
- /* Poll on DATA0 line for cmd with busy signal for 250 ms */
+ /* Poll on DATA0 line for cmd with busy signal for 600 ms */
while (timeout > 0 && !(esdhc_read32(&regs->prsstat) &
PRSSTAT_DAT0)) {
udelay(100);
@@ -652,7 +652,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
return -1;
}
- cfg->cfg.host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT | MMC_MODE_HC;
+ cfg->cfg.host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT;
#ifdef CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
cfg->cfg.host_caps |= MMC_MODE_DDR_52MHz;
#endif