diff options
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 12ae7a9d3b..4735cd8d83 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -126,6 +126,10 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) | |||
126 | } | 126 | } |
127 | /* end MROBE_100 */ | 127 | /* end MROBE_100 */ |
128 | #elif defined(PHILIPS_SA9200) | 128 | #elif defined(PHILIPS_SA9200) |
129 | else if (CPU_HI_INT_STAT & GPIO0_MASK) { | ||
130 | if (GPIOD_INT_STAT & 0x02) | ||
131 | button_int(); | ||
132 | } | ||
129 | else if (CPU_HI_INT_STAT & GPIO1_MASK) { | 133 | else if (CPU_HI_INT_STAT & GPIO1_MASK) { |
130 | if (GPIOF_INT_STAT & 0x80) | 134 | if (GPIOF_INT_STAT & 0x80) |
131 | usb_insert_int(); | 135 | usb_insert_int(); |
@@ -421,6 +425,12 @@ void system_init(void) | |||
421 | DEV_RS2 = 0xffffffff; | 425 | DEV_RS2 = 0xffffffff; |
422 | DEV_RS = 0x00000000; | 426 | DEV_RS = 0x00000000; |
423 | DEV_RS2 = 0x00000000; | 427 | DEV_RS2 = 0x00000000; |
428 | #elif defined(PHILIPS_SA9200) | ||
429 | /* reset all allowed devices */ | ||
430 | DEV_RS = 0x3ffffef8; | ||
431 | DEV_RS2 = 0xffffffff; | ||
432 | DEV_RS = 0x00000000; | ||
433 | DEV_RS2 = 0x00000000; | ||
424 | #elif defined(IPOD_4G) | 434 | #elif defined(IPOD_4G) |
425 | /* set minimum startup configuration */ | 435 | /* set minimum startup configuration */ |
426 | DEV_EN = 0xc2020124; | 436 | DEV_EN = 0xc2020124; |