summaryrefslogtreecommitdiff
path: root/src/cpu/x86/tsc/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/tsc/Makefile.inc')
-rw-r--r--src/cpu/x86/tsc/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/x86/tsc/Makefile.inc b/src/cpu/x86/tsc/Makefile.inc
index 44bfe85170..3bbae847f8 100644
--- a/src/cpu/x86/tsc/Makefile.inc
+++ b/src/cpu/x86/tsc/Makefile.inc
@@ -1,2 +1,6 @@
ramstage-$(CONFIG_UDELAY_TSC) += delay_tsc.c
+romstage-$(CONFIG_TSC_CONSTANT_RATE) += delay_tsc.c
+ifeq ($(CONFIG_HAVE_SMI_HANDLER),y)
+smm-$(CONFIG_TSC_CONSTANT_RATE) += delay_tsc.c
+endif