cpu/intel/model_2065x/model_2065x_init.c: Drop dead code

This code is not even being build-tested. Drop it before it grows moss.

Change-Id: I16fe12368ce7ffe2fd4d2a5580dd92c19a695848
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43208
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner
This commit is contained in:
Angel Pons 2020-07-07 21:52:44 +02:00
parent 8a13206549
commit dc4a8d0260
1 changed files with 0 additions and 26 deletions

View File

@ -147,13 +147,6 @@ static void configure_misc(void)
msr.lo = 0;
msr.hi = 0;
wrmsr(IA32_THERM_INTERRUPT, msr);
#ifdef DISABLED
/* Enable package critical interrupt only */
msr.lo = 1 << 4;
msr.hi = 0;
wrmsr(IA32_PACKAGE_THERM_INTERRUPT, msr);
#endif
}
static void enable_lapic_tpr(void)
@ -188,22 +181,6 @@ static void set_max_ratio(void)
((perf_ctl.lo >> 8) & 0xff) * IRONLAKE_BCLK);
}
static void set_energy_perf_bias(u8 policy)
{
#ifdef DISABLED
msr_t msr;
/* Energy Policy is bits 3:0 */
msr = rdmsr(IA32_ENERGY_PERF_BIAS);
msr.lo &= ~0xf;
msr.lo |= policy & 0xf;
wrmsr(IA32_ENERGY_PERF_BIAS, msr);
printk(BIOS_DEBUG, "model_x06ax: energy policy set to %u\n",
policy);
#endif
}
static void configure_mca(void)
{
msr_t msr;
@ -247,9 +224,6 @@ static void model_2065x_init(struct device *cpu)
/* Thermal throttle activation offset */
configure_thermal_target();
/* Set energy policy */
set_energy_perf_bias(ENERGY_POLICY_NORMAL);
/* Set Max Ratio */
set_max_ratio();