[coreboot-gerrit] Patch set updated for coreboot: lib: compile mdelay for bootblock

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Jan 19 19:48:37 CET 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13049

-gerrit

commit 28051ee6b9d842db149e8ece7d26f5fec7eb38e7
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Tue Jan 19 18:10:55 2016 +0100

    lib: compile mdelay for bootblock
    
    Mediatek's bootblock needs mdelay, which depends on a udelay
    implementation. Compiling the file for bootblock poses no harm:
    Either udelay exists (in which case mdelay is usable) or it doesn't in
    which case we see exactly the same kind of build time error (just with
    udelay instead of mdelay).
    
    Change-Id: I7037308d2d79c5cb1b05bb2b57a0912ad11cd7a6
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/lib/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 11db655..3ee2852 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -32,7 +32,7 @@ bootblock-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
 endif
 
 bootblock-$(CONFIG_CONSOLE_CBMEM) += cbmem_console.c
-bootblock-$(CONFIG_I2C_TPM) += delay.c
+bootblock-y += delay.c
 bootblock-y += memchr.c
 bootblock-y += memcmp.c
 bootblock-y += boot_device.c



More information about the coreboot-gerrit mailing list