mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
as3525*: make sure fclk is 24MHz before using it as the clock source for pclk
Should fix Clip+ boot problems once for all git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25416 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f4dcc69b51
commit
49935f2fa8
1 changed files with 1 additions and 0 deletions
|
|
@ -254,6 +254,7 @@ void system_init(void)
|
||||||
CCU_SCON = 1; /* AHB master's priority configuration :
|
CCU_SCON = 1; /* AHB master's priority configuration :
|
||||||
TIC (Test Interface Controller) > DMA > USB > IDE > ARM */
|
TIC (Test Interface Controller) > DMA > USB > IDE > ARM */
|
||||||
|
|
||||||
|
CGU_PROC = 0; /* fclk 24 MHz */
|
||||||
CGU_PERI &= ~0x7f; /* pclk 24 MHz */
|
CGU_PERI &= ~0x7f; /* pclk 24 MHz */
|
||||||
|
|
||||||
asm volatile(
|
asm volatile(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue