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: Hao Wu <hao.a.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
# finds whether there is Recovery data in the device. If it finds recovery\r
# data, it will install Device Recovery Module PPI.\r
#\r
-# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
gEfiPeiVirtualBlockIo2PpiGuid\r
gEfiPeiDeviceRecoveryModulePpiGuid ## PRODUCES\r
\r
-[FeaturePcd]\r
- gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r
-\r
[Pcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ## CONSUMES\r
\r
/** @file\r
Source file for CD recovery PEIM\r
\r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
return Status;\r
}\r
\r
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {\r
- CapsuleInstance = CapsuleInstance + 1;\r
- }\r
-\r
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {\r
return EFI_NOT_FOUND;\r
}\r
return Status;\r
}\r
\r
- if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {\r
- CapsuleInstance = CapsuleInstance + 1;\r
- }\r
-\r
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {\r
return EFI_NOT_FOUND;\r
}\r