Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
102f6253600cfa3f741c0d1d126436d612daa203
/
.
/
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
);
}
}