summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-10-03 09:39:31 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-10-17 10:04:12 +0200
commitb752e4f402b2a96d1b9545b5fed3df09d2990743 (patch)
tree4872e821d87bc88fd367c431df8dc6e62578b5cc /src/include/cpu
parentaf4d66edf88b9d1d493708557fc45dc12683106d (diff)
acpi_add_ssdt_pstates: Remove function.
Nowhere in database p_state_num is set. So this whole function ends up being a noop. Moreover the offsets used by it are wrong with any optimizing iasl. Remove it in preparation of move to per-device ACPI. Change-Id: I1f1f9743565aa8f0b8fca472ad4cb6d7542fcecb Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/7012 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/amdfam10_sysconf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/cpu/amd/amdfam10_sysconf.h b/src/include/cpu/amd/amdfam10_sysconf.h
index baba6ce1e2..261c2dbaf7 100644
--- a/src/include/cpu/amd/amdfam10_sysconf.h
+++ b/src/include/cpu/amd/amdfam10_sysconf.h
@@ -56,8 +56,6 @@ struct amdfam10_sysconf_t {
msr_t msr_pstate[NODE_NUMS * 5]; // quad cores all cores in one node should be the same, and p0,..p5
unsigned needs_update_pstate_msrs;
- struct p_state_t p_state[NODE_NUMS * 5];
- unsigned p_state_num;
unsigned bsp_apicid;
int enabled_apic_ext_id;