From 271c67e802c65b243c7e4c76e276a893345f15fe Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Mon, 5 Oct 2009 16:01:26 +0000 Subject: Fix the user timer on iPod Nano 2G git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22959 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/s5l8700.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/s5l8700.h b/firmware/export/s5l8700.h index 801e8a0857..f652a62a2e 100644 --- a/firmware/export/s5l8700.h +++ b/firmware/export/s5l8700.h @@ -126,10 +126,16 @@ #define INTMOD (*(REG32_PTR_T)(0x39C00004)) /* Interrupt mode register. */ #define INTMSK (*(REG32_PTR_T)(0x39C00008)) /* Determines which interrupt source is masked. The */ #if CONFIG_CPU==S5L8701 +#define INTMSK_TIMERA (1<<5) #define INTMSK_TIMERB (1<<5) +#define INTMSK_TIMERC (1<<5) +#define INTMSK_TIMERD (1<<5) #define INTMSK_ECC (1<<19) #else +#define INTMSK_TIMERA (1<<5) #define INTMSK_TIMERB (1<<7) +#define INTMSK_TIMERC (1<<8) +#define INTMSK_TIMERD (1<<9) #endif #define PRIORITY (*(REG32_PTR_T)(0x39C0000C)) /* IRQ priority control register */ #define INTPND (*(REG32_PTR_T)(0x39C00010)) /* Indicates the interrupt request status. */ -- cgit v1.2.3