2003-04-22 21:02:15 +02:00
|
|
|
#ifndef DELAY_H
|
|
|
|
#define DELAY_H
|
2010-02-22 07:09:43 +01:00
|
|
|
|
2009-10-30 03:08:07 +01:00
|
|
|
#if !defined( __ROMCC__)
|
2003-04-22 21:02:15 +02:00
|
|
|
|
2010-02-22 07:09:43 +01:00
|
|
|
#if CONFIG_HAVE_INIT_TIMER == 1
|
|
|
|
void init_timer(void);
|
|
|
|
#else
|
|
|
|
#define init_timer() do{} while(0)
|
|
|
|
#endif
|
|
|
|
|
2003-07-19 06:28:22 +02:00
|
|
|
void udelay(unsigned usecs);
|
|
|
|
void mdelay(unsigned msecs);
|
|
|
|
void delay(unsigned secs);
|
2003-04-22 21:02:15 +02:00
|
|
|
|
2003-07-19 06:28:22 +02:00
|
|
|
#endif
|
2003-04-22 21:02:15 +02:00
|
|
|
#endif /* DELAY_H */
|