mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
AT91: gen_atmel_mci.c: fix bug when Slot B is used
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
This commit is contained in:
parent
52eb2c7911
commit
2aed9d14cc
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue