summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/geralt/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/geralt/chromeos.c')
-rw-r--r--src/mainboard/google/geralt/chromeos.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/chromeos.c b/src/mainboard/google/geralt/chromeos.c
index 434ff90659cc..eb93be20c4d5 100644
--- a/src/mainboard/google/geralt/chromeos.c
+++ b/src/mainboard/google/geralt/chromeos.c
@@ -2,8 +2,17 @@
#include <bootmode.h>
#include <boot/coreboot_tables.h>
+#include <gpio.h>
+#include <security/tpm/tis.h>
+
+#include "gpio.h"
void fill_lb_gpios(struct lb_gpios *gpios)
{
/* TODO: add Chrome specific gpios */
}
+
+int tis_plat_irq_status(void)
+{
+ return gpio_eint_poll(GPIO_GSC_AP_INT_ODL);
+}