diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/tpm_registers.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 6a914aabb0..c4353dd566 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -24,6 +24,7 @@ #include "tpm_registers.h" #include "util.h" #include "watchdog.h" +#include "wp.h" /* TPM2 library includes. */ #include "ExecCommand_fp.h" @@ -864,6 +865,10 @@ void tpm_task(void) */ if (command_code == TPM2_PCR_Read) system_process_retry_counter(); + + else if (command_code == TPM2_Startup) + read_fwmp(); + #ifdef CONFIG_EXTENSION_COMMAND if (!IS_CUSTOM_CODE(command_code)) #endif |