From e2e0a6b5974b945e9c921292559647cc3fe0151d Mon Sep 17 00:00:00 2001 From: Sumeet Pawnikar Date: Fri, 24 Sep 2021 18:39:50 +0530 Subject: [PATCH] acpi/acpigen_dptf: Add TPCH participant for dptf Add TPCH as participant for dptf control functionality. BUG=b:198582766 BRANCH=None TEST=Build FW and test on brya0 board Change-Id: I17c0c6cfb7804dd2caa188acc93f1a63b47cab36 Signed-off-by: Sumeet Pawnikar Reviewed-on: https://review.coreboot.org/c/coreboot/+/57924 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/acpi/acpigen_dptf.c | 2 ++ src/include/acpi/acpigen_dptf.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/acpi/acpigen_dptf.c b/src/acpi/acpigen_dptf.c index 3877daa88b..ea1efcfb43 100644 --- a/src/acpi/acpigen_dptf.c +++ b/src/acpi/acpigen_dptf.c @@ -70,6 +70,8 @@ static const char *namestring_of(enum dptf_participant participant) return "TSR2"; case DPTF_TEMP_SENSOR_3: return "TSR3"; + case DPTF_TPCH: + return "TPCH"; default: return ""; } diff --git a/src/include/acpi/acpigen_dptf.h b/src/include/acpi/acpigen_dptf.h index b173bb8214..de57adc5f5 100644 --- a/src/include/acpi/acpigen_dptf.h +++ b/src/include/acpi/acpigen_dptf.h @@ -24,6 +24,7 @@ enum dptf_participant { DPTF_TEMP_SENSOR_1, DPTF_TEMP_SENSOR_2, DPTF_TEMP_SENSOR_3, + DPTF_TPCH, DPTF_PARTICIPANT_COUNT, };