delay: Have mdelay() / delay() available in romstage, too
Some drivers (like the I2C TPM driver) call mdelay instead of udelay. While it's a shame that these chips are so slow, the overhead of having those functions available in romstage is minimal. Signed-off-by: Stefan Reinauer <reinauer@google.com> BRANCH=none TEST=compile tested BUG=none Change-Id: I1fa888fc5ca4489def16ac92e2f8260ccc26d792 Reviewed-on: https://chromium-review.googlesource.com/167542 Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
parent
a3e2413f58
commit
7083b6b843
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ rmodules-y += memcpy.c
|
|||
endif
|
||||
romstage-y += memcmp.c
|
||||
rmodules-y += memcmp.c
|
||||
romstage-y += delay.c
|
||||
romstage-y += cbfs.c
|
||||
romstage-y += lzma.c
|
||||
#romstage-y += lzmadecode.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue