summaryrefslogtreecommitdiff
path: root/src/include/delay.h
blob: ab1f4f982971488d884cb4f01ae01bbb60b2981a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef DELAY_H
#define DELAY_H

#if IS_ENABLED(CONFIG_GENERIC_UDELAY)
static inline void init_timer(void) {}
#else
void init_timer(void);
#endif

void udelay(unsigned usecs);
void mdelay(unsigned msecs);
void delay(unsigned secs);
#endif /* DELAY_H */