From 49935f2fa8d4869a8b32586b2326af35959920e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 1 Apr 2010 03:55:49 +0000 Subject: [PATCH] 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 --- firmware/target/arm/as3525/system-as3525.c | 1 + 1 file changed, 1 insertion(+) 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(