From c34ca87b64b71741327ec2ca7908080427babab0 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 29 Jun 2009 14:29:06 +0000 Subject: Move coldfire timer code in the target tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21555 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/timer.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'firmware/export') 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 @@ #if defined(CPU_PP) /* Portalplayer chips use a microsecond timer. */ #define TIMER_FREQ 1000000 -#elif defined(CPU_COLDFIRE) - /* timer is based on busclk == cpuclk/2 */ - #define TIMER_FREQ (CPU_FREQ/2) #elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \ || defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \ - || CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 + || CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 \ + || defined(CPU_COLDFIRE) #include "timer-target.h" #elif defined(SIMULATOR) #define TIMER_FREQ 1000000 -- cgit v1.2.3