summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/cpu/tsc_freq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/cpu/tsc_freq.c')
-rw-r--r--src/soc/intel/broadwell/cpu/tsc_freq.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/soc/intel/broadwell/cpu/tsc_freq.c b/src/soc/intel/broadwell/cpu/tsc_freq.c
deleted file mode 100644
index 4a8a34349f..0000000000
--- a/src/soc/intel/broadwell/cpu/tsc_freq.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <cpu/x86/msr.h>
-#include <cpu/x86/tsc.h>
-#include <soc/cpu.h>
-#include <soc/msr.h>
-
-unsigned long tsc_freq_mhz(void)
-{
- msr_t platform_info;
-
- platform_info = rdmsr(MSR_PLATFORM_INFO);
- return CPU_BCLK * ((platform_info.lo >> 8) & 0xff);
-}