Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/46986 )
Change subject: include/acpi: add defines for CPPC versions 1-3 ......................................................................
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 --- M src/include/acpi/acpigen.h 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index d06d20c..6360614 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -231,6 +231,10 @@ 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 */