summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-12-01 09:36:53 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-12-01 09:36:53 +0000
commita63cf502bcab01aa0ab7b34f0346aaf38e2baae0 (patch)
treedc1c5e01de798e408c3d47a29de03dadd35a0ee0 /firmware/target/coldfire
parent5ad4080b980785bf09bca1b75c07219af792fa9e (diff)
downloadrockbox-a63cf502bcab01aa0ab7b34f0346aaf38e2baae0.tar.gz
rockbox-a63cf502bcab01aa0ab7b34f0346aaf38e2baae0.tar.bz2
rockbox-a63cf502bcab01aa0ab7b34f0346aaf38e2baae0.zip
Add HD300 button defines for system_exception_wait()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28715 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-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 57d729f7e8..61a5da98cd 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -158,6 +158,11 @@ default_interrupt (ADC); /* A/D converter */
#define EXCP_BUTTON_MASK 0x01000010
#define EXCP_BUTTON_VALUE 0x01000000 /* Play button and !hold */
#define EXCP_PLLCR 0x10800000
+#elif defined(MPIO_HD300)
+#define EXCP_BUTTON_GPIO_READ GPIO1_READ
+#define EXCP_BUTTON_MASK 0x01080000
+#define EXCP_BUTTON_VALUE 0x01080000 /* Play button and !hold */
+#define EXCP_PLLCR 0x10800000
#else
#define EXCP_BUTTON_GPIO_READ GPIO1_READ
#define EXCP_BUTTON_MASK 0x00000022