summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-10 23:39:37 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-10 23:39:37 +0000
commit39c56b3f17ed91fc6e57f1569a5dd9803b36fdf5 (patch)
tree9b722db10a352ed80e13b9191d2c532879cad40d /firmware/target/arm
parent85568d6040935af76f62d76ac9a106c6fb7c754b (diff)
downloadrockbox-39c56b3f17ed91fc6e57f1569a5dd9803b36fdf5.tar.gz
rockbox-39c56b3f17ed91fc6e57f1569a5dd9803b36fdf5.zip
iPod G3: Set the 'we (pretend to) know what we're doing so please let us' magic value. Aka unlock clock frequencies > 66MHz. Should make performance significantly better with problematic codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/system-pp5002.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp5002.c b/firmware/target/arm/system-pp5002.c
index e8410df619..25e1f700eb 100644
--- a/firmware/target/arm/system-pp5002.c
+++ b/firmware/target/arm/system-pp5002.c
@@ -96,6 +96,7 @@ void set_cpu_frequency(long frequency)
postmult = CPUFREQ_DEFAULT_MULT;
cpu_frequency = frequency;
+ outl(0xd19b, 0xcf005038);
outl(0x02, 0xcf005008);
outl(0x55, 0xcf00500c);
outl(0x6000, 0xcf005010);