diff options
Diffstat (limited to 'firmware/target/arm/imx31/avic-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/avic-imx31.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/avic-imx31.c b/firmware/target/arm/imx31/avic-imx31.c index c8bf419bcd..51ba14d0b3 100644 --- a/firmware/target/arm/imx31/avic-imx31.c +++ b/firmware/target/arm/imx31/avic-imx31.c | |||
@@ -66,6 +66,7 @@ void UIE_VECTOR(void) | |||
66 | offset >= 0 ? avic_int_names[offset] : "<Unknown>"); | 66 | offset >= 0 ? avic_int_names[offset] : "<Unknown>"); |
67 | } | 67 | } |
68 | 68 | ||
69 | #if 0 | ||
69 | /* We use the AVIC */ | 70 | /* We use the AVIC */ |
70 | void __attribute__((interrupt("IRQ"))) irq_handler(void) | 71 | void __attribute__((interrupt("IRQ"))) irq_handler(void) |
71 | { | 72 | { |
@@ -85,6 +86,7 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) | |||
85 | panicf("Unhandled IRQ %d in irq_handler: %s", offset, | 86 | panicf("Unhandled IRQ %d in irq_handler: %s", offset, |
86 | offset >= 0 ? avic_int_names[offset] : "<Unknown>"); | 87 | offset >= 0 ? avic_int_names[offset] : "<Unknown>"); |
87 | } | 88 | } |
89 | #endif /* 0 */ | ||
88 | 90 | ||
89 | /* Accoring to section 9.3.5 of the UM, the AVIC doesn't accelerate | 91 | /* Accoring to section 9.3.5 of the UM, the AVIC doesn't accelerate |
90 | * fast interrupts and they must be dispatched */ | 92 | * fast interrupts and they must be dispatched */ |