FmpDevicePkg/FmpDxe: Use new Fmp dependency libraries

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2696

Remove the orginal Fmp Capsule Dependency implement, and use new
FmpDependencyLib, FmpDependencyCheckLib and FmpDependencyDeviceLib
APIs instead.
A platform can perform the dependency check in a platform specific
manner by implementing its own FmpDependencyCheckLib.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Wei6 Xu
2020-05-12 13:33:54 +08:00
committed by mergify[bot]
parent ba86bb2c4d
commit 0f30087b9a
6 changed files with 64 additions and 948 deletions

View File

@@ -29,8 +29,6 @@
[Sources]
FmpDxe.c
FmpDxe.h
Dependency.c
Dependency.h
DetectTestKey.c
VariableSupport.h
VariableSupport.c
@@ -54,6 +52,9 @@
FmpDeviceLib
FmpPayloadHeaderLib
CapsuleUpdatePolicyLib
FmpDependencyLib
FmpDependencyCheckLib
FmpDependencyDeviceLib
[Guids]
gEfiEndOfDxeEventGroupGuid