Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
0a2c9d7913978dfc82f14e26dded7fa1b89f47d1
/
.
/
src
/
lib
/
delay.c
blob: 25f93acdcb589fabcd93038f286d709a464e0e30 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0-only */
#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
);
}