diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-09-20 16:17:26 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-09-21 14:12:49 +0800 |
commit | 93638568c1c6bd6bace2cd27666796b7c87fc45c (patch) | |
tree | 49df2aeca485b12637cf9d566c21177f19d5ac6b /UefiCpuPkg | |
parent | 030d2de7c7a8682837be168bbaf7f27739a8fff0 (diff) | |
download | edk2-93638568c1c6bd6bace2cd27666796b7c87fc45c.tar.gz edk2-93638568c1c6bd6bace2cd27666796b7c87fc45c.tar.bz2 edk2-93638568c1c6bd6bace2cd27666796b7c87fc45c.zip |
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>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r-- | UefiCpuPkg/SecCore/SecBist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/UefiCpuPkg/SecCore/SecBist.c b/UefiCpuPkg/SecCore/SecBist.c index 19f34925a1..ba7d7cafa9 100644 --- a/UefiCpuPkg/SecCore/SecBist.c +++ b/UefiCpuPkg/SecCore/SecBist.c @@ -261,6 +261,8 @@ RepublishSecPlatformInformationPpi ( SecInformationDescriptor,
&mPeiSecPlatformInformation
);
+ } else if (Status == EFI_NOT_FOUND) {
+ return;
}
}
|