diff options
author | Chasel, Chiu <chasel.chiu@intel.com> | 2019-02-15 17:54:22 +0800 |
---|---|---|
committer | Chasel, Chiu <chasel.chiu@intel.com> | 2019-02-15 17:54:22 +0800 |
commit | 1b261a705f947a4abb9024eca307a7c52cc5e6d5 (patch) | |
tree | 6a2078fdd4151edaf53c9348032badcb917ebcef /UefiCpuPkg | |
parent | 373c2c5b888d029d7103206556bb85f33d980569 (diff) | |
download | edk2-1b261a705f947a4abb9024eca307a7c52cc5e6d5.tar.gz edk2-1b261a705f947a4abb9024eca307a7c52cc5e6d5.tar.bz2 edk2-1b261a705f947a4abb9024eca307a7c52cc5e6d5.zip |
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 <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/SecCore/SecMain.c | 8 |
1 files 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 @@ -237,10 +237,13 @@ SecStartupPhase2( 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
|