summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/s5l8700/system-s5l8700.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/target/arm/s5l8700/system-s5l8700.c b/firmware/target/arm/s5l8700/system-s5l8700.c
index 44f9b042cb..fe0fb9ff7c 100644
--- a/firmware/target/arm/s5l8700/system-s5l8700.c
+++ b/firmware/target/arm/s5l8700/system-s5l8700.c
@@ -30,6 +30,8 @@
extern __attribute__((weak,alias("UIRQ"))) void name (void)
void irq_handler(void) __attribute__((interrupt ("IRQ"), naked));
+void fiq_handler(void) __attribute__((interrupt ("FIQ"), naked, \
+ weak, alias("fiq_dummy")));
default_interrupt(EXT0);
default_interrupt(EXT1);
@@ -141,6 +143,14 @@ void irq_handler(void)
"subs pc, lr, #4 \n"); /* Return from IRQ */
}
+void fiq_dummy(void)
+{
+ asm volatile (
+ "subs pc, lr, #4 \r\n"
+ );
+}
+
+
void system_init(void)
{
}