soc/intel/apollolake: Use Intel timer common code

Change-Id: I7b415711d01ddc0d998eba62de2c2139045efa80
Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-on: https://review.coreboot.org/19913
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Aamir Bohra 2017-05-25 14:38:37 +05:30 committed by Aaron Durbin
parent 842776e1dc
commit 4c9cf304c7
2 changed files with 1 additions and 6 deletions

View File

@ -62,6 +62,7 @@ config CPU_SPECIFIC_OPTIONS
select SOC_INTEL_COMMON_BLOCK_SA
select SOC_INTEL_COMMON_BLOCK_RTC
select SOC_INTEL_COMMON_BLOCK_SA
select SOC_INTEL_COMMON_BLOCK_TIMER
select SOC_INTEL_COMMON_BLOCK_UART
select SOC_INTEL_COMMON_BLOCK_XDCI
select SOC_INTEL_COMMON_BLOCK_XHCI

View File

@ -23,12 +23,6 @@
#include <delay.h>
#include "chip.h"
unsigned long tsc_freq_mhz(void)
{
msr_t msr = rdmsr(MSR_PLATFORM_INFO);
return (CONFIG_CPU_BCLK_MHZ * ((msr.lo >> 8) & 0xff));
}
void set_max_freq(void)
{
msr_t msr, msr_rd;