From b13fb01a62708492cae4b33c4d6fa9ae127905f4 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 30 Oct 2003 21:49:38 +0000 Subject: * 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) --- cpu/ixp/timer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpu/ixp/timer.c') diff --git a/cpu/ixp/timer.c b/cpu/ixp/timer.c index baa7e72b7e..8df2a31f5c 100644 --- a/cpu/ixp/timer.c +++ b/cpu/ixp/timer.c @@ -30,6 +30,11 @@ #include #include +ulong get_timer (ulong base) +{ + return get_timer_masked () - base; +} + void ixp425_udelay(unsigned long usec) { /* -- cgit v1.2.3