summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/timer-target.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-29 14:29:57 +0000
commitc5dedd7d762f48e940ecc0bd17dd2173d59a92e1 (patch)
treecd4d9dc085b4c40f281f17953a3e126dd1c0c02b /firmware/target/coldfire/timer-target.h
parent89ccd5c145e45ad541a02f38e2ad07fb916f7135 (diff)
downloadrockbox-c5dedd7d762f48e940ecc0bd17dd2173d59a92e1.tar.gz
rockbox-c5dedd7d762f48e940ecc0bd17dd2173d59a92e1.zip
Remove the TIMER_* macros and declare target-specific functions in timer.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21559 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/timer-target.h')
-rw-r--r--firmware/target/coldfire/timer-target.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/target/coldfire/timer-target.h b/firmware/target/coldfire/timer-target.h
index 29488887e8..3aff57de9e 100644
--- a/firmware/target/coldfire/timer-target.h
+++ b/firmware/target/coldfire/timer-target.h
@@ -21,20 +21,7 @@
21#ifndef TIMER_TARGET_H 21#ifndef TIMER_TARGET_H
22#define TIMER_TARGET_H 22#define TIMER_TARGET_H
23 23
24bool __timer_set(long cycles, bool start);
25bool __timer_start(void);
26void __timer_stop(void);
27
28/* timer is based on busclk == cpuclk/2 */ 24/* timer is based on busclk == cpuclk/2 */
29#define TIMER_FREQ (CPU_FREQ/2) 25#define TIMER_FREQ (CPU_FREQ/2)
30 26
31#define __TIMER_SET(cycles, set) \
32 __timer_set(cycles, set)
33
34#define __TIMER_START() \
35 __timer_start()
36
37#define __TIMER_STOP(...) \
38 __timer_stop()
39
40#endif /* TIMER_TARGET_H */ 27#endif /* TIMER_TARGET_H */