summaryrefslogtreecommitdiff
path: root/cpu/ixp/timer.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
committerJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
commit72ed528a948b151e7be5ce03ed3d2b88a229dd0a (patch)
tree0f90590c0faf6fcc85f26f92facc653112be53e0 /cpu/ixp/timer.c
parent9f37dc8cabc94aed27aec8b4c69a390c8603fd28 (diff)
parente461a24113c66747510b07930a83b0d84171a559 (diff)
downloadu-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.zip
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.gz
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.bz2
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'cpu/ixp/timer.c')
-rw-r--r--cpu/ixp/timer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu/ixp/timer.c b/cpu/ixp/timer.c
index 8df2a31..920f34e 100644
--- a/cpu/ixp/timer.c
+++ b/cpu/ixp/timer.c
@@ -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 */