mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
rk27xx: Do not turn off clocks in bootloader as this breaks OF loading
Change-Id: I8e2fb06e82f33c3cf841a125c13e56401c58b12d
This commit is contained in:
parent
0842d7f7e1
commit
2bafdae6b1
1 changed files with 2 additions and 1 deletions
|
|
@ -117,6 +117,7 @@ void fiq_dummy(void)
|
|||
|
||||
void system_init(void)
|
||||
{
|
||||
#ifndef BOOTLOADER
|
||||
/* SDRAM tweaks */
|
||||
MCSDR_MODE = (2<<4)|3; /* CAS=2, burst=8 */
|
||||
MCSDR_T_REF = (125*100) >> 3; /* 125/8 = 15.625 autorefresh interval */
|
||||
|
|
@ -145,7 +146,7 @@ void system_init(void)
|
|||
|
||||
/* turn off codec pll */
|
||||
SCU_PLLCON3 |= (1<<22);
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* not tested */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue