x86: baytrail: Correct the comment of IACORE_VIDS bit ranges

The guaranteed vid bit ranges in IACORE_VIDS MSR is actually
[22:16]. This corrects the comment for it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lime2-spi
Bin Meng 7 years ago
parent 919c1c1204
commit 341dda352d
  1. 2
      arch/x86/cpu/baytrail/cpu.c

@ -80,7 +80,7 @@ static void set_max_freq(void)
perf_ctl.lo = (msr.lo & 0x3f0000) >> 8; perf_ctl.lo = (msr.lo & 0x3f0000) >> 8;
/* /*
* Set guaranteed vid [21:16] from IACORE_VIDS to bits [7:0] of * Set guaranteed vid [22:16] from IACORE_VIDS to bits [7:0] of
* the PERF_CTL * the PERF_CTL
*/ */
msr = msr_read(MSR_IACORE_VIDS); msr = msr_read(MSR_IACORE_VIDS);

Loading…
Cancel
Save