aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/tsc_freq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/tsc_freq.c')
-rw-r--r--src/soc/intel/apollolake/tsc_freq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/tsc_freq.c b/src/soc/intel/apollolake/tsc_freq.c
index 3bd709c03d..f91a047d08 100644
--- a/src/soc/intel/apollolake/tsc_freq.c
+++ b/src/soc/intel/apollolake/tsc_freq.c
@@ -37,7 +37,8 @@ void set_max_freq(void)
eax = cpuid_eax(CPUID_LEAF_PM);
msr = rdmsr(MSR_IA32_MISC_ENABLES);
- if (!(eax &= 0x2) && ((msr.hi & APL_BURST_MODE_DISABLE) == 0)) {
+ eax &= 0x2;
+ if ((!eax) && ((msr.hi & APL_BURST_MODE_DISABLE) == 0)) {
/* Burst Mode has been factory configured as disabled
* and is not available in this physical processor
* package.