aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell/acpi.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-29 00:08:24 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-15 11:23:41 +0000
commitbda1c552e9acc4f6e1da44504343abb189590bb9 (patch)
tree4c2b3268224d95e20a6a7518256504c3b02e035c /src/cpu/intel/haswell/acpi.c
parentba5761a947cc7bd2f13454570e62cde57f4fbd08 (diff)
cpu/intel/haswell/acpi.c: Use C-state enum definitions
Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 does not change. Change-Id: I0ca98cbe45e10d233607f68923f08752fdda9698 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46923 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/intel/haswell/acpi.c')
-rw-r--r--src/cpu/intel/haswell/acpi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c
index d257d8682a..7c99df36c0 100644
--- a/src/cpu/intel/haswell/acpi.c
+++ b/src/cpu/intel/haswell/acpi.c
@@ -15,15 +15,15 @@
#include <southbridge/intel/lynxpoint/pch.h>
static int cstate_set_lp[3] = {
- 2,
- 3,
- 9,
+ C_STATE_C1E,
+ C_STATE_C3,
+ C_STATE_C7S_LONG_LAT,
};
static int cstate_set_trad[3] = {
- 1,
- 3,
- 5,
+ C_STATE_C1,
+ C_STATE_C3,
+ C_STATE_C6_LONG_LAT,
};
static int get_cores_per_package(void)