forked from len0rd/rockbox
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)
|
void system_init(void)
|
||||||
{
|
{
|
||||||
|
#ifndef BOOTLOADER
|
||||||
/* SDRAM tweaks */
|
/* SDRAM tweaks */
|
||||||
MCSDR_MODE = (2<<4)|3; /* CAS=2, burst=8 */
|
MCSDR_MODE = (2<<4)|3; /* CAS=2, burst=8 */
|
||||||
MCSDR_T_REF = (125*100) >> 3; /* 125/8 = 15.625 autorefresh interval */
|
MCSDR_T_REF = (125*100) >> 3; /* 125/8 = 15.625 autorefresh interval */
|
||||||
|
|
@ -145,7 +146,7 @@ void system_init(void)
|
||||||
|
|
||||||
/* turn off codec pll */
|
/* turn off codec pll */
|
||||||
SCU_PLLCON3 |= (1<<22);
|
SCU_PLLCON3 |= (1<<22);
|
||||||
return;
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* not tested */
|
/* not tested */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue