mb/google/guybrush: Implement tis_plat_irq_status

BUG=b:185397933
TEST=boot guybrush and no longer see tis_plat_irq_status warnings

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I9b67cb59221d4e355df8e8a2205e03ead7dba51f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52352
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Raul E Rangel 2021-04-14 14:11:06 -06:00 committed by Patrick Georgi
parent 06d1e4d001
commit 46ca25d8c9
2 changed files with 13 additions and 0 deletions

View File

@ -1,7 +1,11 @@
bootblock-y += gpio.c
romstage-y += tpm_tis.c
ramstage-y += gpio.c
ramstage-y += tpm_tis.c
verstage-y += gpio.c
verstage-y += tpm_tis.c
smm-y += gpio.c

View File

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <security/tpm/tis.h>
#include <soc/gpio.h>
int tis_plat_irq_status(void)
{
return gpio_interrupt_status(GPIO_3);
}