coreboot-kgpe-d16/src/lib/delay.c
Eric Biederman 9b4336cf41 - Major cleanup of the bootpath
- Changes to allow more code to be compiled both ways
- Working SMP support


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@987 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-19 04:28:22 +00:00

15 lines
204 B
C

#include <delay.h>
void mdelay(unsigned msecs)
{
unsigned i;
for(i = 0; i < msecs; i++) {
udelay(1000);
}
}
void delay(unsigned secs)
{
unsigned i;
for(i = 0; i < secs; i++) {
mdelay(1000);
}
}