summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp5002.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-10 20:47:01 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-10 20:47:01 +0000
commit85568d6040935af76f62d76ac9a106c6fb7c754b (patch)
treef8bc2e7bf7b51cf815ea3e10eaf7854808a0c529 /firmware/target/arm/system-pp5002.c
parent696432a2fdc55407651d0cdc257549a458a0dc0e (diff)
iPod G3: Clock setup register display and CPU clock estimation in debug menu. * Fix clock being set to only half of what it should be (introduced with clock setup changes for PP502x).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13844 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-pp5002.c')
-rw-r--r--firmware/target/arm/system-pp5002.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/system-pp5002.c b/firmware/target/arm/system-pp5002.c
index 20f68cc119..e8410df619 100644
--- a/firmware/target/arm/system-pp5002.c
+++ b/firmware/target/arm/system-pp5002.c
@@ -100,8 +100,8 @@ void set_cpu_frequency(long frequency)
outl(0x55, 0xcf00500c);
outl(0x6000, 0xcf005010);
- /* Clock frequency = (24/8)*postmult */
- outl(8, 0xcf005018);
+ /* Clock frequency = (24/4)*postmult */
+ outl(4, 0xcf005018);
outl(postmult, 0xcf00501c);
outl(0xe000, 0xcf005010);