summaryrefslogtreecommitdiff
path: root/src/include/delay.h
blob: 5d0dc017903e9062fd8c0e741f815d175660c17f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);

#endif
#endif /* DELAY_H */