aboutsummaryrefslogtreecommitdiff
path: root/cpu/ixp/timer.c
diff options
context:
space:
mode:
authorwdenk2003-10-30 21:49:38 +0000
committerwdenk2003-10-30 21:49:38 +0000
commitb13fb01a62708492cae4b33c4d6fa9ae127905f4 (patch)
tree66ae0d558907465ecbebb815f8be02a4257e5c55 /cpu/ixp/timer.c
parent5fa66df63afe2841ce27596996811469903373a7 (diff)
* Fix parameter passing to standalone images with bootm command
* Patch by Kyle Harris, 30 Oct 2003: Fix build errors for ixdp425 board * Patch by David M. Horn, 29 Oct 2003: Fixes to build under CYGWIN * Get IceCube MGT5100 working (again)
Diffstat (limited to 'cpu/ixp/timer.c')
-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 baa7e72b7e7..8df2a31f5c0 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)
{
/*