mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/SecCore: SecPlatformInformation(2) are optional PPIs
Currently, this is ASSERT() if neither SecPlatformInformation2 nor SecPlatformInformation PPIs are found. This is not correct. Per PI specification both of them are optional PPI. Platform may not install them. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
030d2de7c7
commit
93638568c1
|
@ -261,6 +261,8 @@ RepublishSecPlatformInformationPpi (
|
|||
SecInformationDescriptor,
|
||||
&mPeiSecPlatformInformation
|
||||
);
|
||||
} else if (Status == EFI_NOT_FOUND) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue