summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cherry/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cherry/chromeos.c')
-rw-r--r--src/mainboard/google/cherry/chromeos.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/chromeos.c b/src/mainboard/google/cherry/chromeos.c
index 1a869a3fe0..03e44d5ac2 100644
--- a/src/mainboard/google/cherry/chromeos.c
+++ b/src/mainboard/google/cherry/chromeos.c
@@ -3,6 +3,7 @@
#include <bootmode.h>
#include <boot/coreboot_tables.h>
#include <gpio.h>
+#include <security/tpm/tis.h>
#include "gpio.h"
@@ -28,3 +29,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_eint_poll(GPIO_GSC_AP_INT);
+}