summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tms320dm320/system-dm320.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c
index 58137ff102..1c81f9c6e2 100644
--- a/firmware/target/arm/tms320dm320/system-dm320.c
+++ b/firmware/target/arm/tms320dm320/system-dm320.c
@@ -209,6 +209,11 @@ void system_init(void)
209 dm320_set_io(33, false, false, false, false, false, 0x00); 209 dm320_set_io(33, false, false, false, false, false, 0x00);
210 IO_GIO_BITCLR2 = 1<<1; 210 IO_GIO_BITCLR2 = 1<<1;
211 211
212 /* Pin 1 is the power button. Right now it is setup without IRQ, but that
213 * may be needed for wakeup if a different shutdown method is used. */
214 /* 1: input , non-inverted, no-irq, falling edge, no-chat, normal */
215 dm320_set_io(1, true, false, false, false, false, 0x00);
216
212 /* taken from linux/arch/arm/mach-itdm320-20/irq.c */ 217 /* taken from linux/arch/arm/mach-itdm320-20/irq.c */
213 218
214 /* Clearing all FIQs and IRQs. */ 219 /* Clearing all FIQs and IRQs. */