util/sconfig: Remove unused ioapic and irq keywords
[coreboot.git] / src / include / delay.h
blob327ad4df1bb8efe0b21b86197b16bd1002b4d065
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef DELAY_H
4 #define DELAY_H
6 #include <stdint.h>
8 #if CONFIG_UDELAY_LAPIC_FIXED_FSB != 0
9 static inline u32 get_timer_fsb(void)
11 return CONFIG_UDELAY_LAPIC_FIXED_FSB;
13 #else
14 u32 get_timer_fsb(void);
15 #endif
17 void init_timer(void);
19 void udelay(unsigned int usecs);
20 void mdelay(unsigned int msecs);
21 void delay(unsigned int secs);
22 #endif /* DELAY_H */