]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/arm920t/interrupts.c
S3C24x0: extract interrupts from timer
[karo-tx-uboot.git] / cpu / arm920t / interrupts.c
index ea24cdf68bd1c647b3db15300ea91669f5e9e225..561083ec73e3d04303fcf8a6b844e648f6160dd9 100644 (file)
  */
 
 #include <common.h>
-
-#ifdef CONFIG_USE_IRQ
 #include <asm/proc-armv/ptrace.h>
+
+#if defined (CONFIG_ARCH_INTEGRATOR)
 void do_irq (struct pt_regs *pt_regs)
 {
-#if defined (ARM920_IRQ_CALLBACK)
-       ARM920_IRQ_CALLBACK();
-#elif defined (CONFIG_ARCH_INTEGRATOR)
        /* ASSUMED to be a timer interrupt  */
        /* Just clear it - count handled in */
        /* integratorap.c                   */
        *(volatile ulong *)(CONFIG_SYS_TIMERBASE + 0x0C) = 0;
-#else
-#error do_irq() not defined for this cpu type
-#endif
 }
 #endif