summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2009-10-24 23:27:13 +0000
committerMichael Sparmann <theseven@rockbox.org>2009-10-24 23:27:13 +0000
commitc9dd93e2868a34c223c3c9da1e04817f1848212c (patch)
tree99913adfd7679f8393a0b7c0d0e0bca6ba55e006 /firmware/target
parent4b7e5361d2a9d18232ba57f1623d9e67d8ce19e2 (diff)
Adjust the iPod Nano 2G CPU clock freq again, this time to an exact value. Also add hardware defines for the 9th DMA channel we discovered on the S5L8701, and fix the µsec timer (there were missing braces).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/s5l8700/system-target.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/system-target.h b/firmware/target/arm/s5l8700/system-target.h
index 8f10301563..81e5c7f7fd 100644
--- a/firmware/target/arm/s5l8700/system-target.h
+++ b/firmware/target/arm/s5l8700/system-target.h
@@ -24,9 +24,10 @@
#include "system-arm.h"
#include "mmu-target.h"
-#define CPUFREQ_DEFAULT 32000000
-#define CPUFREQ_NORMAL 48000000
-#define CPUFREQ_MAX 192000000
+#define CPUFREQ_SLEEP 32768
+#define CPUFREQ_DEFAULT 47923200
+#define CPUFREQ_NORMAL 47923200
+#define CPUFREQ_MAX 191692800
#define inl(a) (*(volatile unsigned long *) (a))
#define outl(a,b) (*(volatile unsigned long *) (b) = (a))