diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-01 03:55:49 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-04-01 03:55:49 +0000 |
commit | 49935f2fa8d4869a8b32586b2326af35959920e0 (patch) | |
tree | 3b470696848f4a27bc1e6779cee08a7122728c3b /firmware | |
parent | f4dcc69b51f329c4f0b37baed41df5cb75afe01e (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 74e4f2bc7b..201143c0ef 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -254,6 +254,7 @@ void system_init(void) CCU_SCON = 1; /* AHB master's priority configuration : TIC (Test Interface Controller) > DMA > USB > IDE > ARM */ + CGU_PROC = 0; /* fclk 24 MHz */ CGU_PERI &= ~0x7f; /* pclk 24 MHz */ asm volatile( |