diff options
Diffstat (limited to 'firmware/export/timer.h')
-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 |