summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/myst/variants/baseboard/Makefile.inc4
-rw-r--r--src/mainboard/google/myst/variants/baseboard/tpm_tis.c9
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/myst/variants/baseboard/Makefile.inc b/src/mainboard/google/myst/variants/baseboard/Makefile.inc
index 40a41dfeed..ffa462ab8f 100644
--- a/src/mainboard/google/myst/variants/baseboard/Makefile.inc
+++ b/src/mainboard/google/myst/variants/baseboard/Makefile.inc
@@ -1,7 +1,11 @@
bootblock-y += gpio.c
ramstage-y += gpio.c
+ramstage-y += tpm_tis.c
romstage-y += gpio.c
+romstage-y += tpm_tis.c
+
+verstage-y += tpm_tis.c
smm-y += smihandler.c
diff --git a/src/mainboard/google/myst/variants/baseboard/tpm_tis.c b/src/mainboard/google/myst/variants/baseboard/tpm_tis.c
new file mode 100644
index 0000000000..d03158db81
--- /dev/null
+++ b/src/mainboard/google/myst/variants/baseboard/tpm_tis.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <security/tpm/tis.h>
+#include <gpio.h>
+
+int tis_plat_irq_status(void)
+{
+ return gpio_interrupt_status(GPIO_84);
+}