repo.or.cz
/
coreboot2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git]
/
src
/
lib
/
delay.c
blob
25f93acdcb589fabcd93038f286d709a464e0e30
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <delay.h>
4
void
mdelay
(
unsigned int
msecs
)
5
{
6
unsigned int
i
;
7
for
(
i
=
0
;
i
<
msecs
;
i
++)
8
udelay
(
1000
);
9
}
10
void
delay
(
unsigned int
secs
)
11
{
12
unsigned int
i
;
13
for
(
i
=
0
;
i
<
secs
;
i
++)
14
mdelay
(
1000
);
15
}