mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/CdExpress: 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: 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>
This commit is contained in:
parent
728c7ffac3
commit
2e217e4022
|
@ -5,7 +5,7 @@
|
|||
# finds whether there is Recovery data in the device. If it finds recovery
|
||||
# data, it will install Device Recovery Module PPI.
|
||||
#
|
||||
# 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
|
||||
#
|
||||
|
@ -58,9 +58,6 @@
|
|||
gEfiPeiVirtualBlockIo2PpiGuid
|
||||
gEfiPeiDeviceRecoveryModulePpiGuid ## PRODUCES
|
||||
|
||||
[FeaturePcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ## CONSUMES
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Source file for CD recovery PEIM
|
||||
|
||||
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
|
||||
|
||||
|
@ -587,10 +587,6 @@ GetRecoveryCapsuleInfo (
|
|||
return Status;
|
||||
}
|
||||
|
||||
if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
|
||||
CapsuleInstance = CapsuleInstance + 1;
|
||||
}
|
||||
|
||||
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
|
||||
return EFI_NOT_FOUND;
|
||||
}
|
||||
|
@ -647,10 +643,6 @@ LoadRecoveryCapsule (
|
|||
return Status;
|
||||
}
|
||||
|
||||
if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
|
||||
CapsuleInstance = CapsuleInstance + 1;
|
||||
}
|
||||
|
||||
if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules)) {
|
||||
return EFI_NOT_FOUND;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue