From 0492c8cf26de286d704e9fb81dba517fddfe08d0 Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 7 Oct 2015 11:06:14 -0700 Subject: [PATCH] cpu/x86/tsc: Compile delay_tsc.c for the bootblock as well This is needed in a follow-on patch to enable udelay() handling on apollolake, which is a dependency for the console code. Change-Id: I7da6a060a91b83f3b32c5c5d269c102ce7ae3b8a Signed-off-by: Alexandru Gagniuc Reviewed-on: https://review.coreboot.org/13302 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/x86/tsc/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/x86/tsc/Makefile.inc b/src/cpu/x86/tsc/Makefile.inc index bbebda9172..7e2eab2062 100644 --- a/src/cpu/x86/tsc/Makefile.inc +++ b/src/cpu/x86/tsc/Makefile.inc @@ -1,3 +1,4 @@ +bootblock-$(CONFIG_UDELAY_TSC) += delay_tsc.c ramstage-$(CONFIG_UDELAY_TSC) += delay_tsc.c romstage-$(CONFIG_TSC_CONSTANT_RATE) += delay_tsc.c verstage-$(CONFIG_TSC_CONSTANT_RATE) += delay_tsc.c