mb/google/nissa/var/rull: Add 6W and 15W DPTF parameters
[coreboot.git] / src / soc / intel / denverton_ns / tsc_freq.c
blobe4a9956d40e9769387760555e2803f531c12e13e
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <cpu/x86/msr.h>
4 #include <cpu/x86/tsc.h>
6 #include <soc/cpu.h>
7 #include <soc/msr.h>
9 unsigned long tsc_freq_mhz(void)
11 msr_t platform_info;
13 platform_info = rdmsr(MSR_PLATFORM_INFO);
14 return CPU_BCLK * ((platform_info.lo >> 8) & 0xff);