]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - cpu/nios/interrupts.c
Patches by Stephan Linz, 11 Dec 2003:
[karo-tx-uboot.git] / cpu / nios / interrupts.c
index 981b8f7d80f140b1398964f18568eb93daacf159..31eabde53d675137ae07b4829b0c5a00dc853b42 100644 (file)
@@ -30,6 +30,9 @@
 #include <asm/ptrace.h>
 #include <common.h>
 #include <command.h>
+#ifdef CONFIG_STATUS_LED
+#include <status_led.h>
+#endif
 
 /****************************************************************************/
 
@@ -72,6 +75,9 @@ void timer_interrupt (struct pt_regs *regs)
        nios_timer_t *tmr = (nios_timer_t *)CFG_NIOS_TMRBASE;
        tmr->status = 0;
        timestamp += CFG_NIOS_TMRMS;
+#ifdef CONFIG_STATUS_LED
+       status_led_tick(timestamp);
+#endif
 }
 #endif