as3525v2: do not modify CGU_PERI in rockbox.sansa
this prevented booting, we need to figure out CGU_PROC bits git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24854 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9db0e78ac0
commit
ed55520985
1 changed files with 3 additions and 0 deletions
|
@ -268,9 +268,12 @@ void system_init(void)
|
|||
CCU_SRL = CCU_SRL_MAGIC_NUMBER;
|
||||
CCU_SRC = CCU_SRL = 0;
|
||||
|
||||
#ifdef BOOTLOADER /* FIXME */
|
||||
CGU_PERI &= ~0x7f; /* pclk 24 MHz */
|
||||
CGU_PERI |= ((CLK_DIV(AS3525_PLLA_FREQ, AS3525_PCLK_FREQ) - 1) << 2)
|
||||
| 1; /* clk_in = PLLA */
|
||||
#endif
|
||||
|
||||
#else
|
||||
unsigned int reset_loops = 640;
|
||||
|
||||
|
|
Loading…
Reference in a new issue