repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/amd/mandolin: Drop SPD eeproms in devicetree
[coreboot.git]
/
src
/
lib
/
delay.c
blob
7f478778dd9c599ea25294f28434816054b26c8c
1
#include <delay.h>
2
void
mdelay
(
unsigned int
msecs
)
3
{
4
unsigned int
i
;
5
for
(
i
=
0
;
i
<
msecs
;
i
++)
6
udelay
(
1000
);
7
}
8
void
delay
(
unsigned int
secs
)
9
{
10
unsigned int
i
;
11
for
(
i
=
0
;
i
<
secs
;
i
++)
12
mdelay
(
1000
);
13
}