rk27xx: Do not turn off clocks in bootloader as this breaks OF loading

Change-Id: I8e2fb06e82f33c3cf841a125c13e56401c58b12d
This commit is contained in:
Marcin Bukat 2012-04-27 16:18:59 +02:00
parent 0842d7f7e1
commit 2bafdae6b1

View file

@ -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 */