From 0fd734046a131ec5433573eb79127d9ea9d6d66e Mon Sep 17 00:00:00 2001 From: Sridhar Siricilla Date: Mon, 15 Nov 2021 17:12:49 +0530 Subject: [PATCH] src/include/acpi: Move CPPC_PACKAGE_NAME macro definition The patch moves the CPPC_PACKAGE_NAME macro definition from file acpi/acpigen.c to include/acpi/acpigen.h file since the CPPC_PACKAGE_NAME method will get called from cpu/intel/common in a later patch. TEST=Built the code for Brya Signed-off-by: Sridhar Siricilla Change-Id: Ic547445cdbe2b1a3efe44390bd127f577386e7fc Reviewed-on: https://review.coreboot.org/c/coreboot/+/59358 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/acpi/acpigen.c | 2 -- src/include/acpi/acpigen.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c index 2b74261a2f..ff04d0f396 100644 --- a/src/acpi/acpigen.c +++ b/src/acpi/acpigen.c @@ -10,8 +10,6 @@ #define ACPIGEN_MAXLEN 0xfffff -#define CPPC_PACKAGE_NAME "GCPC" - #include #include #include diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index c97713fa6f..2a3e930d4d 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -235,6 +235,8 @@ struct dsm_uuid { #define CPPC_VERSION_2 2 #define CPPC_VERSION_3 3 +#define CPPC_PACKAGE_NAME "GCPC" + /*version 1 has 15 fields, version 2 has 19, and version 3 has 21 */ enum cppc_fields { CPPC_HIGHEST_PERF, /* can be DWORD */