summaryrefslogtreecommitdiff
path: root/cpu/ixp
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/ixp')
-rw-r--r--cpu/ixp/timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/ixp/timer.c b/cpu/ixp/timer.c
index baa7e72..8df2a31 100644
--- a/cpu/ixp/timer.c
+++ b/cpu/ixp/timer.c
@@ -30,6 +30,11 @@
#include <common.h>
#include <asm/arch/ixp425.h>
+ulong get_timer (ulong base)
+{
+ return get_timer_masked () - base;
+}
+
void ixp425_udelay(unsigned long usec)
{
/*