projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a49cd7
)
mmc: at91: use max timeout value. It will avoid some situation that timeout happened.
author
Wu, Josh
<Josh.wu@atmel.com>
Thu, 13 Sep 2012 22:22:06 +0000
(22:22 +0000)
committer
Andreas Bießmann
<andreas.devel@googlemail.com>
Wed, 17 Oct 2012 09:29:52 +0000
(11:29 +0200)
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mmc/gen_atmel_mci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/gen_atmel_mci.c
b/drivers/mmc/gen_atmel_mci.c
index 9f0630454895c60bc15316976d633f19742a37c7..67b2dbe8d4c0b4d47339714ceaac0f4ff29aa60c 100644
(file)
--- 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(0x
5
f, &mci->dtor);
+ /*
This delay can be optimized, but stick with max value
*/
+ writel(0x
7
f, &mci->dtor);
/* Disable Interrupts */
writel(~0UL, &mci->idr);