summaryrefslogtreecommitdiff
path: root/firmware/export/s5l8700.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-09-17 08:05:19 +0000
committerDave Chapman <dave@dchapman.com>2009-09-17 08:05:19 +0000
commit43ec944e3c0c31a7b4bedbb371f1ce9c1c24a80d (patch)
treef63c1452752ff80ac06cd0c56f5b57b0cfde4ebd /firmware/export/s5l8700.h
parentd67c4d2f6ba5bde26ca6e121064d4da116e868c5 (diff)
downloadrockbox-43ec944e3c0c31a7b4bedbb371f1ce9c1c24a80d.tar.gz
rockbox-43ec944e3c0c31a7b4bedbb371f1ce9c1c24a80d.zip
TIMERB is in a different location on the S5L8701
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/s5l8700.h')
-rw-r--r--firmware/export/s5l8700.h5
1 files changed, 5 insertions, 0 deletions
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 @@
125#define SRCPND (*(REG32_PTR_T)(0x39C00000)) /* Indicates the interrupt request status. */ 125#define SRCPND (*(REG32_PTR_T)(0x39C00000)) /* Indicates the interrupt request status. */
126#define INTMOD (*(REG32_PTR_T)(0x39C00004)) /* Interrupt mode register. */ 126#define INTMOD (*(REG32_PTR_T)(0x39C00004)) /* Interrupt mode register. */
127#define INTMSK (*(REG32_PTR_T)(0x39C00008)) /* Determines which interrupt source is masked. The */ 127#define INTMSK (*(REG32_PTR_T)(0x39C00008)) /* Determines which interrupt source is masked. The */
128#if CONFIG_CPU==S5L8701
129#define INTMSK_TIMERB (1<<5)
130#else
131#define INTMSK_TIMERB (1<<7)
132#endif
128#define PRIORITY (*(REG32_PTR_T)(0x39C0000C)) /* IRQ priority control register */ 133#define PRIORITY (*(REG32_PTR_T)(0x39C0000C)) /* IRQ priority control register */
129#define INTPND (*(REG32_PTR_T)(0x39C00010)) /* Indicates the interrupt request status. */ 134#define INTPND (*(REG32_PTR_T)(0x39C00010)) /* Indicates the interrupt request status. */
130#define INTOFFSET (*(REG32_PTR_T)(0x39C00014)) /* Indicates the IRQ interrupt request source */ 135#define INTOFFSET (*(REG32_PTR_T)(0x39C00014)) /* Indicates the IRQ interrupt request source */