From 1b261a705f947a4abb9024eca307a7c52cc5e6d5 Mon Sep 17 00:00:00 2001 From: "Chasel, Chiu" Date: Fri, 15 Feb 2019 17:54:22 +0800 Subject: [PATCH] UefiCpuPkg/SecCore: Support EFI_PEI_CORE_FV_LOCATION_PPI REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1524 Previous commit 373c2c5b888d029d7103206556bb85f33d980569, missed one comment change that should be fixed. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chasel Chiu Reviewed-by: Star Zeng --- UefiCpuPkg/SecCore/SecMain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/SecCore/SecMain.c b/UefiCpuPkg/SecCore/SecMain.c index d84eb675f5..752156a98e 100644 --- a/UefiCpuPkg/SecCore/SecMain.c +++ b/UefiCpuPkg/SecCore/SecMain.c @@ -236,11 +236,14 @@ SecStartupPhase2( SecCoreData = (EFI_SEC_PEI_HAND_OFF *) Context; AllSecPpiList = (EFI_PEI_PPI_DESCRIPTOR *) SecCoreData->PeiTemporaryRamBase; + // + // Perform platform specific initialization before entering PeiCore. + // + PpiList = SecPlatformMain (SecCoreData); // // Find Pei Core entry point. It will report SEC and Pei Core debug information if remote debug // is enabled. // - PpiList = SecPlatformMain (SecCoreData); if (PpiList != NULL) { for (Index = 0; (PpiList[Index].Flags & EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) != EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST; @@ -268,9 +271,6 @@ SecStartupPhase2( } } - // - // Perform platform specific initialization before entering PeiCore. - // if (PpiList != NULL) { // // Remove the terminal flag from the terminal PPI