diff options
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r-- | common/tpm_registers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 0e2733b472..ec424202c0 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -550,11 +550,12 @@ static void tpm_init(void) */ TPM_Manufacture(1); _TPM_Init(); + _plat__SetNvAvail(); tpm_endorse(); + } else { + _plat__SetNvAvail(); } - _plat__SetNvAvail(); - /* Reinitialize TPM interface. */ if_restart(); } |