From 43ec944e3c0c31a7b4bedbb371f1ce9c1c24a80d Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 17 Sep 2009 08:05:19 +0000 Subject: TIMERB is in a different location on the S5L8701 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/s5l8700.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/s5l8700.h') diff --git a/firmware/export/s5l8700.h b/firmware/export/s5l8700.h index cfd8e59ad6..f43b9f408c 100644 --- a/firmware/export/s5l8700.h +++ b/firmware/export/s5l8700.h @@ -125,6 +125,11 @@ #define SRCPND (*(REG32_PTR_T)(0x39C00000)) /* Indicates the interrupt request status. */ #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_TIMERB (1<<5) +#else +#define INTMSK_TIMERB (1<<7) +#endif #define PRIORITY (*(REG32_PTR_T)(0x39C0000C)) /* IRQ priority control register */ #define INTPND (*(REG32_PTR_T)(0x39C00010)) /* Indicates the interrupt request status. */ #define INTOFFSET (*(REG32_PTR_T)(0x39C00014)) /* Indicates the IRQ interrupt request source */ -- cgit v1.2.3