summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-03-17 02:02:13 +0000
committerThom Johansen <thomj@rockbox.org>2006-03-17 02:02:13 +0000
commitf6e856774c681d3c189dd6753fc041583f36866c (patch)
treee924dfe7d954ee90512ef9321da42cccf8ab3489 /firmware/export/system.h
parent4ba14d91135f75e98987887679b7b3d6bccb3120 (diff)
downloadrockbox-f6e856774c681d3c189dd6753fc041583f36866c.tar.gz
rockbox-f6e856774c681d3c189dd6753fc041583f36866c.zip
CPU boosting support for ipod nano and video. The rest of the targets
are either untested or do not work with the current code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r--firmware/export/system.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index e88c793fae..eb5bb52053 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -305,8 +305,11 @@ static inline void invalidate_icache(void)
305 305
306/* TODO: Implement set_irq_level and check CPU frequencies */ 306/* TODO: Implement set_irq_level and check CPU frequencies */
307 307
308#define CPUFREQ_DEFAULT CPU_FREQ 308#define CPUFREQ_DEFAULT_MULT 8
309#define CPUFREQ_NORMAL 37500000 309#define CPUFREQ_DEFAULT 240000000
310#define CPUFREQ_NORMAL_MULT 10
311#define CPUFREQ_NORMAL 30000000
312#define CPUFREQ_MAX_MULT 25
310#define CPUFREQ_MAX 75000000 313#define CPUFREQ_MAX 75000000
311 314
312static inline unsigned short swap16(unsigned short value) 315static inline unsigned short swap16(unsigned short value)