summaryrefslogtreecommitdiff
path: root/src/lib/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/timer.c')
-rw-r--r--src/lib/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/timer.c b/src/lib/timer.c
index a2edc5c96d..8aeaa063c1 100644
--- a/src/lib/timer.c
+++ b/src/lib/timer.c
@@ -22,6 +22,8 @@
#include <delay.h>
#include <thread.h>
+__attribute__((weak)) void init_timer() { /* do nothing */ }
+
void udelay(unsigned usec)
{
struct stopwatch sw;