Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
d059112eec64f79cf6a62197a96769cbd104252a
/
.
/
src
/
lib
/
delay.c
blob: 7f478778dd9c599ea25294f28434816054b26c8c [
file
] [
log
] [
blame
]
#include
<delay.h>
void
mdelay
(
unsigned
int
msecs
)
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
msecs
;
i
++)
udelay
(
1000
);
}
void
delay
(
unsigned
int
secs
)
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
secs
;
i
++)
mdelay
(
1000
);
}