summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-01-19 18:10:55 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-01-20 21:47:52 +0100
commitb0a2d3c298d2b06c8d1d52fe540c932e358cc59e (patch)
tree50435a95d55913c1ef6932c62cedaa740f2b106f /src/lib
parent1533f13d4332cd80437340c83d9cc800bb2aae11 (diff)
downloadcoreboot-b0a2d3c298d2b06c8d1d52fe540c932e358cc59e.tar.xz
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@chromium.org> Reviewed-on: https://review.coreboot.org/13049 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
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