Isaac Christensen (isaac.christensen@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6531
-gerrit
commit e2c59e991db6461edb948fae0595741d8374d048 Author: Stefan Reinauer reinauer@chromium.org Date: Thu Aug 29 16:01:05 2013 -0700
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
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 (cherry picked from commit 7083b6b843d803bd4ddbd8a5aaf9c5c05bad2044) Signed-off-by: Isaac Christensen isaac.christensen@se-eng.com --- src/lib/Makefile.inc | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 5298bbe..de153bb 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -25,6 +25,7 @@ bootblock-y += memcmp.c romstage-y += memchr.c romstage-y += memcmp.c rmodules-y += memcmp.c +romstage-y += delay.c romstage-y += cbfs.c romstage-$(CONFIG_COMPRESS_RAMSTAGE) += lzma.c #romstage-y += lzmadecode.c