soc/amd/*/include/msr: drop _LO part from PSTATE definition names
The _LO part in the definition names is a leftover from before moving to the pstate_msr union access to the bitfield elements where it still mattered if a bit was in the lower of higher half of the MSR. With the mask-and-shift access to the two parts of the MSR being gone, the _LO part in the name isn't useful any more and possibly a bit misleading, so drop that part. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ib43c71e946388c944ecf40659d4c12ca02a27a5d Reviewed-on: https://review.coreboot.org/c/coreboot/+/73927 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -106,7 +106,7 @@ uint32_t get_pstate_core_freq(union pstate_msr pstate_reg)
|
||||
core_freq_mul = pstate_reg.cpu_fid_0_11;
|
||||
|
||||
/* CPU frequency is 5 * core_freq_mul */
|
||||
return PSTATE_DEF_LO_CORE_FREQ_BASE * core_freq_mul;
|
||||
return PSTATE_DEF_CORE_FREQ_BASE * core_freq_mul;
|
||||
}
|
||||
|
||||
uint32_t get_pstate_core_power(union pstate_msr pstate_reg)
|
||||
|
Reference in New Issue
Block a user