From 7ea87843068bed1be36bded16f7ea1b63293888f Mon Sep 17 00:00:00 2001 From: Marc Singer Date: Sun, 5 Sep 2004 18:39:32 +0100 Subject: [PATCH] [ARM PATCH] 2072/1: lh7a40x Timer device change Patch from Marc Singer This patch changes the system jiffies timer to use TIMER2 so that a given platform can use TIMER1 to drive the buzzer. Note that only TIMER1 can be used to drive a buzzer. Signed-off-by: Marc Singer --- arch/arm/mach-lh7a40x/time.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-lh7a40x/time.c b/arch/arm/mach-lh7a40x/time.c index 61ada24c78a7d..f4943cacbaca4 100644 --- a/arch/arm/mach-lh7a40x/time.c +++ b/arch/arm/mach-lh7a40x/time.c @@ -22,12 +22,12 @@ #include #if HZ < 100 -# define TIMER_CONTROL TIMER_CONTROL1 -# define TIMER_LOAD TIMER_LOAD1 +# define TIMER_CONTROL TIMER_CONTROL2 +# define TIMER_LOAD TIMER_LOAD2 # define TIMER_CONSTANT (508469/HZ) # define TIMER_MODE (TIMER_C_ENABLE | TIMER_C_PERIODIC | TIMER_C_508KHZ) -# define TIMER_EOI TIMER_EOI1 -# define TIMER_IRQ IRQ_T1UI +# define TIMER_EOI TIMER_EOI2 +# define TIMER_IRQ IRQ_T2UI #else # define TIMER_CONTROL TIMER_CONTROL3 # define TIMER_LOAD TIMER_LOAD3 -- 2.53.0