]> git.proxmox.com Git - mirror_edk2.git/commit
FmpDevicePkg: Add FmpDependencyCheck library class and instances
authorWei6 Xu <wei6.xu@intel.com>
Tue, 12 May 2020 05:27:34 +0000 (13:27 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 15 May 2020 06:11:44 +0000 (06:11 +0000)
commit6c4966423b1ee423cded5e5a59c3bdba16def32c
tree53f010ef130540e51b4ca6a578074cd111b36cb0
parentff306cfd6ce43771d992e506aef9c4c8009cdb25
FmpDevicePkg: Add FmpDependencyCheck library class and instances

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

* This library class provides platform specific services to support
dependency check during updating firmware image. Platform can perform
dependency check in platform specific manner by implementing its own
FmpDependencyCheckLib.
* Add FmpDependencyCheck instance to provide a sample of dependency
check. The sample instance only checks the dependency from capsule
image. The dependency from other FMP instances isn't checked here.
* Add NULL instance as an option to skip the dependency check.

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>
FmpDevicePkg/FmpDevicePkg.dec
FmpDevicePkg/FmpDevicePkg.dsc
FmpDevicePkg/Include/Library/FmpDependencyCheckLib.h [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLib/FmpDependencyCheckLib.c [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLib/FmpDependencyCheckLib.inf [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLib/FmpDependencyCheckLib.uni [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLibNull/FmpDependencyCheckLibNull.c [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLibNull/FmpDependencyCheckLibNull.inf [new file with mode: 0644]
FmpDevicePkg/Library/FmpDependencyCheckLibNull/FmpDependencyCheckLibNull.uni [new file with mode: 0644]