Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
1b770fb4b5a83042a6007cd9d263bfdf078822ad
/
.
/
src
/
lib
/
delay.c
blob: 207c6294dd9ccf8cabef033f877ba71b6231a0e1 [
file
] [
log
] [
blame
]
#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
);
}
}