@@ -35,8 +35,6 @@
#include <asm/mach/time.h>
-#include "common.h"
-#include "hardware.h"
/*
* There are 4 versions of the timer hardware on Freescale MXC hardware.
@@ -79,8 +77,6 @@
#define V2_TIMER_RATE_OSC_DIV8 3000000
-#define timer_is_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27())
-#define timer_is_v2() (!timer_is_v1())
#define IMX_TIMER_V0 (0)
#define IMX_TIMER_V1 (1)
@@ -97,8 +93,6 @@ struct imx_timer {
void (*gpt_irq_acknowledge)(struct imx_timer *);
};
-static struct clock_event_device clockevent_mxc;
-
static void gpt_irq_disable_v0_v1(struct imx_timer *tm)
{
unsigned int tmp;
Removed the unused SoC relating codes. Signed-off-by: Shenwei Wang <shenwei.wang@freescale.com> --- arch/arm/mach-imx/time.c | 6 ------ 1 file changed, 6 deletions(-)