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 <sridhar.siricilla@intel.com>
Change-Id: Ic547445cdbe2b1a3efe44390bd127f577386e7fc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59358
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Sridhar Siricilla 2021-11-15 17:12:49 +05:30 committed by Felix Held
parent db8afc70ba
commit 0fd734046a
2 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,6 @@
#define ACPIGEN_MAXLEN 0xfffff #define ACPIGEN_MAXLEN 0xfffff
#define CPPC_PACKAGE_NAME "GCPC"
#include <lib.h> #include <lib.h>
#include <string.h> #include <string.h>
#include <acpi/acpigen.h> #include <acpi/acpigen.h>

View File

@ -235,6 +235,8 @@ struct dsm_uuid {
#define CPPC_VERSION_2 2 #define CPPC_VERSION_2 2
#define CPPC_VERSION_3 3 #define CPPC_VERSION_3 3
#define CPPC_PACKAGE_NAME "GCPC"
/*version 1 has 15 fields, version 2 has 19, and version 3 has 21 */ /*version 1 has 15 fields, version 2 has 19, and version 3 has 21 */
enum cppc_fields { enum cppc_fields {
CPPC_HIGHEST_PERF, /* can be DWORD */ CPPC_HIGHEST_PERF, /* can be DWORD */