]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/microblaze/lib/board.c
microblaze: intc: Clear interrupt code
[karo-tx-uboot.git] / arch / microblaze / lib / board.c
index d3f25953541cb36168c10592714bdde14e97414d..b80250a6bc292140bd79a8c308437e717d54f963 100644 (file)
 #include <serial.h>
 #include <net.h>
 #include <asm/processor.h>
+#include <asm/microblaze_intc.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
 #ifdef CONFIG_SYS_GPIO_0
 extern int gpio_init (void);
 #endif
-#ifdef CONFIG_SYS_INTC_0
-extern int interrupts_init (void);
-#endif
 #ifdef CONFIG_SYS_TIMER_0
 extern int timer_init (void);
 #endif
@@ -70,9 +68,7 @@ init_fnc_t *init_sequence[] = {
 #ifdef CONFIG_SYS_GPIO_0
        gpio_init,
 #endif
-#ifdef CONFIG_SYS_INTC_0
        interrupts_init,
-#endif
 #ifdef CONFIG_SYS_TIMER_0
        timer_init,
 #endif