]> git.sur5r.net Git - u-boot/blobdiff - cpu/ixp/timer.c
TQM85xx: Support for Intel 82527 compatible CAN controller
[u-boot] / cpu / ixp / timer.c
index 8df2a31f5c0246b74aa9eabe7eed8290db5e293c..920f34e612827ed11312ddf4edd35f43730c7fc0 100644 (file)
@@ -1,5 +1,7 @@
-/* vi: set ts=8 sw=8 noet: */
 /*
+ * (C) Copyright 2006
+ * Stefan Roese, DENX Software Engineering, sr@denx.de.
+ *
  * (C) Copyright 2002
  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
  * Marius Groeger <mgroeger@sysgo.de>
@@ -30,6 +32,7 @@
 #include <common.h>
 #include <asm/arch/ixp425.h>
 
+#ifndef CONFIG_USE_IRQ
 ulong get_timer (ulong base)
 {
        return get_timer_masked () - base;
@@ -77,3 +80,4 @@ ulong get_timer_masked (void)
        }
        return (reload_constant - current);
 }
+#endif /* #ifndef CONFIG_USE_IRQ */