summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-10-29 22:38:32 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-11-02 06:22:56 +0000
commitd5fc04bdc98319e03e694e13ee109fc38e85933c (patch)
treea5a7180a4277e92650d113713972c3d6b73d4b86
parent5b10ec43611156cc41ff5e081a547bc5344395a4 (diff)
include/acpi: add defines for CPPC versions 1-3
Change-Id: I6abbf98398057b9774fcfd9046ba933b5286e4cd Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46986 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/include/acpi/acpigen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h
index d06d20c8e7..6360614c71 100644
--- a/src/include/acpi/acpigen.h
+++ b/src/include/acpi/acpigen.h
@@ -231,6 +231,10 @@ struct dsm_uuid {
void *arg;
};
+#define CPPC_VERSION_1 1
+#define CPPC_VERSION_2 2
+#define CPPC_VERSION_3 3
+
/*version 1 has 15 fields, version 2 has 19, and version 3 has 21 */
enum cppc_fields {
CPPC_HIGHEST_PERF, /* can be DWORD */