diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:06 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:06 +0000 |
commit | c34ca87b64b71741327ec2ca7908080427babab0 (patch) | |
tree | 2790f01c2fbb9f335d8e64397267cb62fbf3dd7e /firmware/export | |
parent | 15a7f5e5e9495667e204cde8852b33587427911f (diff) | |
download | rockbox-c34ca87b64b71741327ec2ca7908080427babab0.tar.gz rockbox-c34ca87b64b71741327ec2ca7908080427babab0.zip |
Move coldfire timer code in the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21555 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/timer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/timer.h b/firmware/export/timer.h index e36baa1e1f..b758f57ae5 100644 --- a/firmware/export/timer.h +++ b/firmware/export/timer.h | |||
@@ -28,12 +28,10 @@ | |||
28 | #if defined(CPU_PP) | 28 | #if defined(CPU_PP) |
29 | /* Portalplayer chips use a microsecond timer. */ | 29 | /* Portalplayer chips use a microsecond timer. */ |
30 | #define TIMER_FREQ 1000000 | 30 | #define TIMER_FREQ 1000000 |
31 | #elif defined(CPU_COLDFIRE) | ||
32 | /* timer is based on busclk == cpuclk/2 */ | ||
33 | #define TIMER_FREQ (CPU_FREQ/2) | ||
34 | #elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \ | 31 | #elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \ |
35 | || defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \ | 32 | || defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \ |
36 | || CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 | 33 | || CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 \ |
34 | || defined(CPU_COLDFIRE) | ||
37 | #include "timer-target.h" | 35 | #include "timer-target.h" |
38 | #elif defined(SIMULATOR) | 36 | #elif defined(SIMULATOR) |
39 | #define TIMER_FREQ 1000000 | 37 | #define TIMER_FREQ 1000000 |