summaryrefslogtreecommitdiff
path: root/src/include/delay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/delay.h')
-rw-r--r--src/include/delay.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/delay.h b/src/include/delay.h
index 175cdaaa29..5d0dc01790 100644
--- a/src/include/delay.h
+++ b/src/include/delay.h
@@ -1,7 +1,14 @@
#ifndef DELAY_H
#define DELAY_H
+
#if !defined( __ROMCC__)
+#if CONFIG_HAVE_INIT_TIMER == 1
+void init_timer(void);
+#else
+#define init_timer() do{} while(0)
+#endif
+
void udelay(unsigned usecs);
void mdelay(unsigned msecs);
void delay(unsigned secs);