summaryrefslogtreecommitdiff
path: root/src/drivers/tpm/cr50.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/tpm/cr50.h')
-rw-r--r--src/drivers/tpm/cr50.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/tpm/cr50.h b/src/drivers/tpm/cr50.h
index 7ff63fa3c7..35e70a4320 100644
--- a/src/drivers/tpm/cr50.h
+++ b/src/drivers/tpm/cr50.h
@@ -24,4 +24,7 @@ enum cb_err cr50_set_board_cfg(void);
/* Wait for IRQ to indicate the TPM is ready */
enum cb_err cr50_wait_tpm_ready(void);
+/* Check TPM IRQ and clear it, returns 1 when IRQ pending or 0 when not */
+int cr50_plat_irq_status(void);
+
#endif /* __DRIVERS_TPM_CR50_H__ */