summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorReinhard Meyer <u-boot@emk-elektronik.de>2010-11-16 09:24:41 +0100
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-12-07 16:36:39 +0100
commit2aed9d14cc167385c158f78a3d12b46fd226b499 (patch)
treed3dc23b3a09f21d4d2eebf017948ef64f68ade9b /drivers
parent52eb2c79110151b9017a0829c4d44ee7b8e2ca04 (diff)
downloadu-boot-imx-2aed9d14cc167385c158f78a3d12b46fd226b499.zip
u-boot-imx-2aed9d14cc167385c158f78a3d12b46fd226b499.tar.gz
u-boot-imx-2aed9d14cc167385c158f78a3d12b46fd226b499.tar.bz2
AT91: gen_atmel_mci.c: fix bug when Slot B is used
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/gen_atmel_mci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c
index fa4df99..2984d64 100644
--- 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);