forked from len0rd/rockbox
Fix as3525 bootloader broken by r19049 - we need to operate between
100kHz and 400kHz for the identification phase git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fa748db6ff
commit
7ddaaf074b
1 changed files with 1 additions and 3 deletions
|
|
@ -370,12 +370,10 @@ static void init_pl180_controller(const int drive)
|
||||||
|
|
||||||
MMC_CLOCK(drive) = MCI_CLOCK_ENABLE;
|
MMC_CLOCK(drive) = MCI_CLOCK_ENABLE;
|
||||||
MMC_CLOCK(drive) &= ~MCI_CLOCK_POWERSAVE;
|
MMC_CLOCK(drive) &= ~MCI_CLOCK_POWERSAVE;
|
||||||
|
#endif /* BOOTLOADER */
|
||||||
#else /* controller already initialized by bootloader */
|
|
||||||
|
|
||||||
/* set MCLK divider */
|
/* set MCLK divider */
|
||||||
mci_set_clock_divider(drive, 200);
|
mci_set_clock_divider(drive, 200);
|
||||||
#endif /* BOOTLOADER */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int sd_init(void)
|
int sd_init(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue