summaryrefslogtreecommitdiff
path: root/src/include/delay.h
blob: 0333879c349ff667f1db8275a01c62fbc793ad02 (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
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 */