summaryrefslogtreecommitdiff
path: root/firmware/export/pp5024.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-04 13:22:17 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-04 13:22:17 +0000
commit6fb4c53fb9acdd4c854662736bc03db3995774be (patch)
treed97acc5bca7e46f67885a0f6ea3c5c18ecb9d1be /firmware/export/pp5024.h
parent04d0e3bc41e7b46230e32b1f1fa0e6aaca64464e (diff)
downloadrockbox-6fb4c53fb9acdd4c854662736bc03db3995774be.zip
rockbox-6fb4c53fb9acdd4c854662736bc03db3995774be.tar.gz
rockbox-6fb4c53fb9acdd4c854662736bc03db3995774be.tar.bz2
rockbox-6fb4c53fb9acdd4c854662736bc03db3995774be.tar.xz
The GPIO interrupts are split into several port groups on all PP502x versions, so move those definitions into pp5020.h, and add the missing group. Make microSD hotswap detection work on Sansa c200. Note that microSD access itself does not work yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15460 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5024.h')
-rw-r--r--firmware/export/pp5024.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/export/pp5024.h b/firmware/export/pp5024.h
index 5e2de17..9000321 100644
--- a/firmware/export/pp5024.h
+++ b/firmware/export/pp5024.h
@@ -23,14 +23,4 @@
completely and redifine any minor differences */
#include "pp5020.h"
-#undef GPIO_IRQ
-/* Ports A, B, ?? */
-#define GPIO0_IRQ (32+0)
-/* Ports F, H, ?? */
-#define GPIO1_IRQ (32+1)
-
-#undef GPIO_MASK
-#define GPIO0_MASK (1 << (GPIO0_IRQ-32))
-#define GPIO1_MASK (1 << (GPIO1_IRQ-32))
-
#endif