summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2019-04-28 16:28:08 +0800
committerLiming Gao <liming.gao@intel.com>2019-05-09 09:42:54 +0800
commit8dc1f4ec0f5423fe4d4e4d5af40f779557421937 (patch)
tree6b871dda96998475ae61f04cae386317981c36aa /FatPkg
parent1b72fd5121b5b31918be0a9a0868a39070d4c8d4 (diff)
downloadedk2-8dc1f4ec0f5423fe4d4e4d5af40f779557421937.tar.gz
edk2-8dc1f4ec0f5423fe4d4e4d5af40f779557421937.tar.bz2
edk2-8dc1f4ec0f5423fe4d4e4d5af40f779557421937.zip
FatPkg/FatPei: Remove PcdFrameworkCompatibilitySupport usage
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1464 Currently Framework compatibility is not needed and PcdFrameworkCompatibilitySupport will be removed from edk2. So remove the usage of this PCD firstly. Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'FatPkg')
-rw-r--r--FatPkg/FatPei/FatLiteApi.c10
-rw-r--r--FatPkg/FatPei/FatPei.inf4
2 files changed, 1 insertions, 13 deletions
diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c
index 0bf6ddae6a..b9f883b9e0 100644
--- a/FatPkg/FatPei/FatLiteApi.c
+++ b/FatPkg/FatPei/FatLiteApi.c
@@ -1,7 +1,7 @@
/** @file
FAT recovery PEIM entry point, Ppi Functions and FAT Api functions.
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -431,10 +431,6 @@ GetRecoveryCapsuleInfo (
return Status;
}
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
- CapsuleInstance = CapsuleInstance + 1;
- }
-
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
return EFI_NOT_FOUND;
}
@@ -559,10 +555,6 @@ LoadRecoveryCapsule (
return Status;
}
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
- CapsuleInstance = CapsuleInstance + 1;
- }
-
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
return EFI_NOT_FOUND;
}
diff --git a/FatPkg/FatPei/FatPei.inf b/FatPkg/FatPei/FatPei.inf
index b554aae040..d3466db9bf 100644
--- a/FatPkg/FatPei/FatPei.inf
+++ b/FatPkg/FatPei/FatPei.inf
@@ -65,10 +65,6 @@
gEfiPeiVirtualBlockIo2PpiGuid ## SOMETIMES_CONSUMES PPI_NOTIFY
gEfiPeiDeviceRecoveryModulePpiGuid ## SOMETIMES_PRODUCES
-
-[FeaturePcd]
- gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
-
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ## CONSUMES