reset AIC

This commit is contained in:
Olaf Rempel 2008-03-04 23:16:54 +01:00
parent 2a57bfea62
commit 66ba982b84
1 changed files with 3 additions and 0 deletions

View File

@ -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;