From 66ba982b84c9e7e14dc8f182fe79b2b0a7e728e2 Mon Sep 17 00:00:00 2001 From: Olaf Rempel Date: Tue, 4 Mar 2008 23:16:54 +0100 Subject: [PATCH] reset AIC --- at91_init1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/at91_init1.c b/at91_init1.c index b1636ea..fe45736 100644 --- a/at91_init1.c +++ b/at91_init1.c @@ -66,6 +66,9 @@ void at91_init1(void) AT91S_AIC *aic = AT91C_BASE_AIC; aic->AIC_DCR = AT91C_AIC_DCR_PROT; + /* end-of-interrupt signal */ + aic->AIC_EOICR = ~0; + /* Disable & clear all Interrupts */ aic->AIC_IDCR = ~0; aic->AIC_ICCR = ~0;