diff options
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r-- | common/tpm_registers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 74fff76082..397d067742 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -764,9 +764,11 @@ int tpm_reset_request(int wait_until_done, int wipe_nvmem_first) return EC_ERROR_BUSY; } +#ifdef CONFIG_TPM_LOGGING /* Record input parameters as two bits in the data field. */ tpm_log_event(TPM_EVENT_INIT, (!!wait_until_done << 1) | !!wipe_nvmem_first); +#endif reset_in_progress = 1; wipe_result = EC_SUCCESS; |