summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/intel/model_2065x/model_2065x_init.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/cpu/intel/model_2065x/model_2065x_init.c b/src/cpu/intel/model_2065x/model_2065x_init.c
index 6f41ac5c72..3208e10849 100644
--- a/src/cpu/intel/model_2065x/model_2065x_init.c
+++ b/src/cpu/intel/model_2065x/model_2065x_init.c
@@ -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();