]> git.sur5r.net Git - u-boot/blobdiff - cpu/arm920t/interrupts.c
Add ARM946E cpu and core module targets; remap memory to 0x00000000
[u-boot] / cpu / arm920t / interrupts.c
index bfab5196402d978db4f8c3701e56bb7b26cffc5f..1d254c76d76934ec8116c5e38b3155131f65e0ef 100644 (file)
@@ -30,7 +30,6 @@
  */
 
 #include <common.h>
-
 #include <arm920t.h>
 #include <asm/proc-armv/ptrace.h>
 
@@ -162,7 +161,14 @@ void do_fiq (struct pt_regs *pt_regs)
 
 void do_irq (struct pt_regs *pt_regs)
 {
+#if defined (CONFIG_USE_IRQ) && defined (CONFIG_ARCH_INTEGRATOR)
+       /* ASSUMED to be a timer interrupt  */
+       /* Just clear it - count handled in */
+       /* integratorap.c                   */
+       *(volatile ulong *)(CFG_TIMERBASE + 0x0C) = 0;  
+#else
        printf ("interrupt request\n");
        show_regs (pt_regs);
        bad_mode ();
+#endif
 }