9b4336cf41
- 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
15 lines
204 B
C
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);
|
|
}
|
|
}
|