summaryrefslogtreecommitdiff
path: root/src/cpu/intel/common/Makefile.inc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-12-07 14:49:20 +0100
committerNico Huber <nico.h@gmx.de>2019-01-27 12:13:09 +0000
commitd731a24ff1b9f148609fa5052449caaab129e260 (patch)
tree3d830326ba066e14a6cc2df9d0f7330fa35af842 /src/cpu/intel/common/Makefile.inc
parentb58e99dfa56e1cf02e5bc0720872836bf8bded93 (diff)
src/cpu/intel: Set get_ia32_fsb function common
Add get_ia32_fsb returns FSB values in MHz of intel's CPUs. Also add get_ia32_fsb_x3 function. It returns round up 3 * get_ia32_fsb. Change-Id: I232bf88de7ebba6ac5865db046ce79e9b2f3ed28 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/30103 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/intel/common/Makefile.inc')
-rw-r--r--src/cpu/intel/common/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/intel/common/Makefile.inc b/src/cpu/intel/common/Makefile.inc
index 1e94ec92e4..b67ca85f0e 100644
--- a/src/cpu/intel/common/Makefile.inc
+++ b/src/cpu/intel/common/Makefile.inc
@@ -1 +1,5 @@
ramstage-y += common_init.c
+romstage-$(CONFIG_UDELAY_LAPIC) += fsb.c
+ramstage-$(CONFIG_UDELAY_LAPIC) += fsb.c
+postcar-$(CONFIG_UDELAY_LAPIC) += fsb.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += fsb.c