summaryrefslogtreecommitdiff
path: root/common/tpm_registers.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r--common/tpm_registers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c
index db974f05b9..6ef281b313 100644
--- a/common/tpm_registers.c
+++ b/common/tpm_registers.c
@@ -779,6 +779,11 @@ static __preserved int wipe_result;
*/
static int wipe_requested __attribute__((section(".bss.Tpm2_common")));
+int tpm_reset_in_progress(void)
+{
+ return reset_in_progress;
+}
+
int tpm_reset_request(int wait_until_done, int wipe_nvmem_first)
{
uint32_t evt;