Commit 9ec99342 authored by rbokka's avatar rbokka Committed by Julius Werner

trogdor: Latch GPIO interrupt support

Required for TPM IRQ.

Change-Id: I8198213cf2808be5291620892185b1e534263e3f
Signed-off-by: default avatarRavi Kumar Bokka <rbokka@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38714Reviewed-by: default avatarJulius Werner <jwerner@chromium.org>
Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
parent 9bf0dd80
......@@ -3,6 +3,7 @@
#include <boot/coreboot_tables.h>
#include <bootmode.h>
#include "board.h"
#include <security/tpm/tis.h>
int get_write_protect_state(void)
{
......@@ -31,3 +32,8 @@ void fill_lb_gpios(struct lb_gpios *gpios)
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
}
int tis_plat_irq_status(void)
{
return gpio_irq_status(GPIO_H1_AP_INT);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment