Skip to contentSkip to conversation

AT91: gen_atmel_mci.c: fix bug when Slot B is used

PATCH New Reinhard Meyer 1 participant 2 messages Nov 16, 2010 – Dec 5, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 AT91: gen_atmel_mci.c: fix bug when Slot B is used

---
 drivers/mmc/gen_atmel_mci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/gen_atmel_mci.c +1 -0
index 5463250..c28c469 100644
@@ -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);
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 AT91: gen_atmel_mci.c: fix bug when Slot B is used

Quoted 4 lines · Reinhard Meyer
---
 drivers/mmc/gen_atmel_mci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Applied to u-boot-atmel/next.

Thanks