summaryrefslogtreecommitdiff
path: root/firmware/timer.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-04-04 01:16:11 +0000
committerJens Arnold <amiconn@rockbox.org>2006-04-04 01:16:11 +0000
commit295ec69717a758c527a58ca154dba25c7c22fae5 (patch)
tree325de376644f330f095274fd2f3aa844a2db6318 /firmware/timer.c
parentfcab617331ad6aed89aaacb24b5901175151dd53 (diff)
downloadrockbox-295ec69717a758c527a58ca154dba25c7c22fae5.tar.gz
rockbox-295ec69717a758c527a58ca154dba25c7c22fae5.zip
Simplification for user timer on coldfire. We define TIMER_FREQ separately anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9479 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/timer.c')
-rw-r--r--firmware/timer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/timer.c b/firmware/timer.c
index 54e3dc7ac3..666bdb972b 100644
--- a/firmware/timer.c
+++ b/firmware/timer.c
@@ -70,10 +70,6 @@ static bool timer_set(long cycles, bool start)
70 (void)start; 70 (void)start;
71#endif 71#endif
72 72
73#ifdef CPU_COLDFIRE
74 cycles >>= 1; /* the coldfire timer works on busclk == cpuclk/2 */
75#endif
76
77/* Don't do this on ipods, we don't know if these platforms have prescaler 73/* Don't do this on ipods, we don't know if these platforms have prescaler
78 capabilities on the timer we use. */ 74 capabilities on the timer we use. */
79#if CONFIG_CPU != PP5020 && CONFIG_CPU != PP5002 75#if CONFIG_CPU != PP5020 && CONFIG_CPU != PP5002