From 7758b47e3be128ab8c1c3fecb63b8f0054351ee0 Mon Sep 17 00:00:00 2001 From: Grzegorz Bernacki Date: Wed, 14 Jun 2023 12:01:32 +0000 Subject: drivers/tpm: Move tis_plat_irq_status to cr50 driver tis_plat_irq_status() function is used only by Google TPM. It should be moved to drivers/tpm/cr50.c. The name of the function was changed to cr50_plat_irq_status(). BUG=b:277787305 TEST=Build all affected platforms Change-Id: I78dc39f2c7b44232b06947d3dfe6afa52807ced8 Signed-off-by: Grzegorz Bernacki Reviewed-on: https://review.coreboot.org/c/coreboot/+/75917 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Raul Rangel --- src/mainboard/google/gru/chromeos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/gru') diff --git a/src/mainboard/google/gru/chromeos.c b/src/mainboard/google/gru/chromeos.c index 479ca3d85d..3e57242fa3 100644 --- a/src/mainboard/google/gru/chromeos.c +++ b/src/mainboard/google/gru/chromeos.c @@ -2,8 +2,8 @@ #include #include +#include #include -#include #include "board.h" @@ -44,7 +44,7 @@ void setup_chromeos_gpios(void) } #if CONFIG(GRU_HAS_TPM2) -int tis_plat_irq_status(void) +int cr50_plat_irq_status(void) { return gpio_irq_status(GPIO_TPM_IRQ); } -- cgit v1.2.3