diff options
Diffstat (limited to 'MdeModulePkg/Universal/PCD/Pei/Pcd.c')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Pcd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.c b/MdeModulePkg/Universal/PCD/Pei/Pcd.c index a9ee051263..91e94e263d 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Pcd.c +++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.c @@ -158,9 +158,9 @@ PcdPeimInit ( ASSERT_EFI_ERROR (Status);
//
- // Only install PcdInfo PPI when the feature is enabled and PCD info content is present.
+ // Only install PcdInfo PPI when PCD info content is present.
//
- if (FeaturePcdGet (PcdPcdInfoGeneration) && (DataBase->PcdNameTableOffset != 0)) {
+ if (DataBase->PcdNameTableOffset != 0) {
//
// Install GET_PCD_INFO_PPI and EFI_GET_PCD_INFO_PPI.
//
@@ -232,9 +232,6 @@ PeiGetPcdInfoGetSku ( VOID
)
{
- if (!FeaturePcdGet (PcdPcdInfoGeneration)) {
- return EFI_UNSUPPORTED;
- }
return GetPcdDatabase()->SystemSkuId;
}
|