src/soc/intel: Remove unused variables
Change-Id: Ie81377a31e6527c5fd5aaea99f08527912e870a0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32425 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
358ec83d03
commit
a4a9ad58ba
|
@ -433,7 +433,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
{
|
||||
int ratio_min, ratio_max, ratio_step;
|
||||
int coord_type, power_max, power_unit, num_entries;
|
||||
int ratio, power, clock, clock_max;
|
||||
int ratio, power, clock;
|
||||
int turbo;
|
||||
u32 control_status;
|
||||
msr_t msr;
|
||||
|
@ -448,7 +448,6 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
msr = rdmsr(MSR_PLATFORM_INFO);
|
||||
ratio_min = (msr.hi >> 8) & 0xff; // LFM
|
||||
ratio_max = (msr.lo >> 8) & 0xff; // HFM
|
||||
clock_max = (ratio_max * 100);
|
||||
|
||||
/* Calculate CPU TDP in mW */
|
||||
msr = rdmsr(MSR_PKG_POWER_SKU_UNIT);
|
||||
|
|
Loading…
Reference in New Issue