Hello Ravi kumar,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/38714
to review the following change.
Change subject: trogdor: latching GPIO interrupt support ......................................................................
trogdor: latching GPIO interrupt support
Required for TPM IRQ.
Change-Id: I8198213cf2808be5291620892185b1e534263e3f Signed-off-by: Ravi Kumar Bokka rbokka@codeaurora.org --- M src/mainboard/google/trogdor/chromeos.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/38714/1
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c index e840613..e9c3a78 100644 --- a/src/mainboard/google/trogdor/chromeos.c +++ b/src/mainboard/google/trogdor/chromeos.c @@ -16,6 +16,7 @@ #include <boot/coreboot_tables.h> #include <bootmode.h> #include "board.h" +#include <security/tpm/tis.h>
int get_write_protect_state(void) { @@ -46,3 +47,9 @@
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios)); } + +int tis_plat_irq_status(void) +{ + return gpio_irq_status(GPIO_H1_AP_INT); +} +