summaryrefslogtreecommitdiffstats
path: root/include/clock.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-08-11 09:52:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-08-13 16:41:22 +0200
commit4c01ac2e0e6f584feea933bd04ae2dfa82cfdbc4 (patch)
treee92068968f103d09e16c7dc797eea58ee6f3e0bd /include/clock.h
parentda4d33969e23589191dda3c4c7041a84ba42a583 (diff)
downloadbarebox-4c01ac2e0e6f584feea933bd04ae2dfa82cfdbc4.tar.gz
barebox-4c01ac2e0e6f584feea933bd04ae2dfa82cfdbc4.tar.xz
clocK: Add ndelay function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/clock.h')
-rw-r--r--include/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clock.h b/include/clock.h
index 85ce40182f..54b895e318 100644
--- a/include/clock.h
+++ b/include/clock.h
@@ -27,6 +27,7 @@ int is_timeout(uint64_t start_ns, uint64_t time_offset_ns);
// void udelay(unsigned long usecs);
+void ndelay(unsigned long nsecs);
void mdelay(unsigned long msecs);
#define SECOND ((uint64_t)(1000 * 1000 * 1000))