summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/system-coldfire.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
commitb09d3aec392538ca0934644ff6357c41aaa4c323 (patch)
tree0603cf4ef59e84ee4e0c172e3b418d8dccac664c /firmware/target/coldfire/system-coldfire.c
parentfa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff)
downloadrockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.gz
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.zip
Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/system-coldfire.c')
-rw-r--r--firmware/target/coldfire/system-coldfire.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index a387824526..ba67daa3a6 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -152,6 +152,11 @@ default_interrupt (ADC); /* A/D converter */
#define EXCP_BUTTON_MASK 0x00000202
#define EXCP_BUTTON_VALUE 0x00000200 /* On button and !hold */
#define EXCP_PLLCR 0x10800000
+#elif defined(MPIO_HD200)
+#define EXCP_BUTTON_GPIO_READ GPIO1_READ
+#define EXCP_BUTTON_MASK 0x01000010
+#define EXCP_BUTTON_VALUE 0x01000000 /* Play button and !hold */
+#define EXCP_PLLCR 0x10800000
#else
#define EXCP_BUTTON_GPIO_READ GPIO1_READ
#define EXCP_BUTTON_MASK 0x00000022