projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52eb2c7
)
AT91: gen_atmel_mci.c: fix bug when Slot B is used
author
Reinhard Meyer
<u-boot@emk-elektronik.de>
Tue, 16 Nov 2010 08:24:41 +0000
(09:24 +0100)
committer
Reinhard Meyer
<u-boot@emk-elektronik.de>
Tue, 7 Dec 2010 15:36:39 +0000
(16:36 +0100)
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
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 fa4df9943a7906481b94f3d83db199b43791bbe4..2984d645c9ddab0dfba0f9229eecc52f1d3e20bd 100644
(file)
--- a/
drivers/mmc/gen_atmel_mci.c
+++ b/
drivers/mmc/gen_atmel_mci.c
@@
-308,6
+308,7
@@
static int mci_init(struct mmc *mmc)
writel(MMCI_BIT(SWRST), &mci->cr); /* soft reset */
writel(MMCI_BIT(PWSDIS), &mci->cr); /* disable power save */
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);