1
0
Fork 0
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:
Rafaël Carré 2008-11-09 23:52:08 +00:00
parent fa748db6ff
commit 7ddaaf074b

View file

@ -370,12 +370,10 @@ static void init_pl180_controller(const int drive)
MMC_CLOCK(drive) = MCI_CLOCK_ENABLE;
MMC_CLOCK(drive) &= ~MCI_CLOCK_POWERSAVE;
#else /* controller already initialized by bootloader */
#endif /* BOOTLOADER */
/* set MCLK divider */
mci_set_clock_divider(drive, 200);
#endif /* BOOTLOADER */
}
int sd_init(void)