Skip to content

Commit

Permalink
58957
Browse files Browse the repository at this point in the history
  • Loading branch information
Flickdm committed Jul 30, 2024
1 parent d0921b5 commit 9ca5e19
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,11 @@ PeimEntryMA (
}

if (EFI_ERROR (Status)) {
// MU_CHANGE_58957
// MU_CHANGE [BEGIN] - Make sure that TPM2_Startup() can report an error.
DEBUG ((DEBUG_ERROR, "Tcg2Pei::PeimEntryMA - TPM failed Startup!\n"));
ASSERT_EFI_ERROR (Status);
// MU_CHANGE [END]
goto Done;
}
}
Expand Down Expand Up @@ -1291,6 +1296,10 @@ PeimEntryMA (
if (PcdGet8 (PcdTpm2SelfTestPolicy) == 1) {
Status = Tpm2SelfTest (NO);
if (EFI_ERROR (Status)) {
// MU_CHANGE_58957
// MU_CHANGE [BEGIN] - Make sure that TPM2_Startup() can report an error.
DEBUG ((DEBUG_ERROR, "Tcg2Pei::PeimEntryMA - TPM failed SelfTest!\n"));
// MU_CHANGE [END]
goto Done;
}
}
Expand Down

0 comments on commit 9ca5e19

Please sign in to comment.