Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 69b212c

Browse files
committed
AmpereAltraPkg: Fix TPM PCR changes after reboot
Currently, TPM PCR changes because of corruption of PreUefi event log. With current observation, after DxeIpl decoded FVMAIN section, PreUefi events log are read correctly. This patch changes flash layout in order that PeiCore executes PEI Guided Section Extraction PPI before executing Tcg2Pei module. Signed-off-by: Tinh Nguyen <tinhn@amperecomputing.com>
1 parent 9d5203b commit 69b212c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Platform/Ampere/JadePkg/Jade.fdf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,6 @@ APRIORI PEI {
164164
INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
165165
INF Silicon/Ampere/AmpereAltraPkg/Drivers/PcieInitPei/PcieInitPei.inf
166166

167-
!if $(TPM2_ENABLE) == TRUE
168-
INF MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf
169-
INF Silicon/Ampere/AmpereAltraPkg/Drivers/Tcg2Pei/Tcg2Pei.inf
170-
!endif
171-
172167
#
173168
# Print platform information before passing control into the Driver Execution Environment (DXE) phase
174169
#
@@ -184,6 +179,11 @@ APRIORI PEI {
184179
}
185180
}
186181

182+
!if $(TPM2_ENABLE) == TRUE
183+
INF MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf
184+
INF Silicon/Ampere/AmpereAltraPkg/Drivers/Tcg2Pei/Tcg2Pei.inf
185+
!endif
186+
187187
[FV.FvMain]
188188
FvAlignment = 16
189189
ERASE_POLARITY = 1

0 commit comments

Comments
 (0)