summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-22 08:29:02 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-22 08:29:02 +0000
commited555209855ab76c492f04cc56dbcb8ac788911f (patch)
tree34f86ff34a44f937727d990e239e50c2a812d8a6 /firmware
parent9db0e78ac036384e6c34c504d9783674cc07b0cb (diff)
downloadrockbox-ed555209855ab76c492f04cc56dbcb8ac788911f.tar.gz
rockbox-ed555209855ab76c492f04cc56dbcb8ac788911f.tar.bz2
rockbox-ed555209855ab76c492f04cc56dbcb8ac788911f.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 7e9ff31d23..f0493d51d7 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -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;