diff options
author | Wu, Josh <Josh.wu@atmel.com> | 2012-09-13 22:22:06 +0000 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2012-10-17 11:29:52 +0200 |
commit | 9924ca6e9b1933b8ea2bb0ca49fe67df9856ccc5 (patch) | |
tree | f557516de982a4b3cf78251a7c5203e3f9ce4dc5 | |
parent | 3a49cd7e1a26af6708b05d4877bb0254a08dded3 (diff) | |
download | u-boot-imx-9924ca6e9b1933b8ea2bb0ca49fe67df9856ccc5.zip u-boot-imx-9924ca6e9b1933b8ea2bb0ca49fe67df9856ccc5.tar.gz u-boot-imx-9924ca6e9b1933b8ea2bb0ca49fe67df9856ccc5.tar.bz2 |
mmc: at91: use max timeout value. It will avoid some situation that timeout happened.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r-- | drivers/mmc/gen_atmel_mci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 9f06304..67b2dbe 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -321,8 +321,8 @@ static int mci_init(struct mmc *mmc) writel(MMCI_BIT(MCIEN), &mci->cr); /* enable mci */ writel(MMCI_BF(SCDSEL, MCI_BUS), &mci->sdcr); /* select port */ - /* Initial Time-outs */ - writel(0x5f, &mci->dtor); + /* This delay can be optimized, but stick with max value */ + writel(0x7f, &mci->dtor); /* Disable Interrupts */ writel(~0UL, &mci->idr); |