From b0a2d3c298d2b06c8d1d52fe540c932e358cc59e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 19 Jan 2016 18:10:55 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/13049 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- 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 11db6550ea..3ee2852097 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