summaryrefslogtreecommitdiff
path: root/cpu/ixp
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-30 21:49:38 +0000
committerwdenk <wdenk>2003-10-30 21:49:38 +0000
commitb13fb01a62708492cae4b33c4d6fa9ae127905f4 (patch)
tree66ae0d558907465ecbebb815f8be02a4257e5c55 /cpu/ixp
parent5fa66df63afe2841ce27596996811469903373a7 (diff)
downloadu-boot-imx-b13fb01a62708492cae4b33c4d6fa9ae127905f4.zip
u-boot-imx-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.gz
u-boot-imx-b13fb01a62708492cae4b33c4d6fa9ae127905f4.tar.bz2
* 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')
-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)
{
/*