summaryrefslogtreecommitdiff
path: root/src/include/tpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/tpm.h')
-rw-r--r--src/include/tpm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/tpm.h b/src/include/tpm.h
index b15ca6e76f..bd85b43844 100644
--- a/src/include/tpm.h
+++ b/src/include/tpm.h
@@ -64,4 +64,13 @@ int tis_sendrecv(const u8 *sendbuf, size_t send_size, u8 *recvbuf,
void init_tpm(int s3resume);
+/*
+ * tis_plat_irq_status()
+ *
+ * Check tpm irq and clear it.
+ *
+ * Returns 1 when irq pending or 0 when not.
+ */
+int tis_plat_irq_status(void);
+
#endif /* TPM_H_ */