projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
919c1c1
)
x86: baytrail: Correct the comment of IACORE_VIDS bit ranges
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 24 May 2018 10:05:59 +0000
(
03:05
-0700)
committer
Bin Meng
<bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000
(09:50 +0800)
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>
arch/x86/cpu/baytrail/cpu.c
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/baytrail/cpu.c
b/arch/x86/cpu/baytrail/cpu.c
index 29baf087aa07d7dd6f6ede90e7dc082471a85c60..56e98131d7574d887af17ca888f3bbe15e38a51d 100644
(file)
--- a/
arch/x86/cpu/baytrail/cpu.c
+++ b/
arch/x86/cpu/baytrail/cpu.c
@@
-80,7
+80,7
@@
static void set_max_freq(void)
perf_ctl.lo = (msr.lo & 0x3f0000) >> 8;
/*
- * Set guaranteed vid [2
1
:16] from IACORE_VIDS to bits [7:0] of
+ * Set guaranteed vid [2
2
:16] from IACORE_VIDS to bits [7:0] of
* the PERF_CTL
*/
msr = msr_read(MSR_IACORE_VIDS);