aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/skylake/cpu.c')
-rw-r--r--src/soc/intel/skylake/cpu.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c
index f5273f6fc7..d7da56eaf7 100644
--- a/src/soc/intel/skylake/cpu.c
+++ b/src/soc/intel/skylake/cpu.c
@@ -291,14 +291,11 @@ static void configure_misc(void)
msr = rdmsr(IA32_MISC_ENABLE);
msr.lo |= (1 << 0); /* Fast String enable */
msr.lo |= (1 << 3); /* TM1/TM2/EMTTM enable */
-
- if (conf->eist_enable)
- msr.lo |= (1 << 16); /* Enhanced SpeedStep Enable */
- else
- msr.lo &= ~(1 << 16); /* Enhanced SpeedStep Disable */
-
wrmsr(IA32_MISC_ENABLE, msr);
+ /* Set EIST status */
+ cpu_set_eist(conf->eist_enable);
+
/* Disable Thermal interrupts */
msr.lo = 0;
msr.hi = 0;