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 1f2d27a7b7..0148f3d9de 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c | |||
@@ -62,6 +62,11 @@ extern void clickwheel_int(void); | |||
62 | void irq(void) | 62 | void irq(void) |
63 | { | 63 | { |
64 | if(CURRENT_CORE == CPU) { | 64 | if(CURRENT_CORE == CPU) { |
65 | if (CPU_HI_INT_STAT) | ||
66 | { | ||
67 | gui_syncsplash(0, "%08X %08X", inl(0x6000414c), CPU_HI_INT_STAT); | ||
68 | } | ||
69 | |||
65 | if (CPU_INT_STAT & TIMER1_MASK) { | 70 | if (CPU_INT_STAT & TIMER1_MASK) { |
66 | #ifdef SANSA_E200 | 71 | #ifdef SANSA_E200 |
67 | if (GPIOF_INT_STAT & 0xff) | 72 | if (GPIOF_INT_STAT & 0xff) |
@@ -239,6 +244,11 @@ void system_init(void) | |||
239 | CPU_INT_CLR = -1; | 244 | CPU_INT_CLR = -1; |
240 | INT_FORCED_CLR = -1; | 245 | INT_FORCED_CLR = -1; |
241 | 246 | ||
247 | outl(0, 0x6000414c); | ||
248 | outl(0, 0x60004144); | ||
249 | |||
250 | // outl(0x80000, 0x6000414c); | ||
251 | |||
242 | GPIOA_INT_EN = 0; | 252 | GPIOA_INT_EN = 0; |
243 | GPIOB_INT_EN = 0; | 253 | GPIOB_INT_EN = 0; |
244 | GPIOC_INT_EN = 0; | 254 | GPIOC_INT_EN = 0; |