]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/DxeCapsuleLibFmp: Capsule on Disk file name capsule
authorBob Morgan <bobm@nvidia.com>
Tue, 2 Nov 2021 20:40:23 +0000 (04:40 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 10 Nov 2021 02:21:50 +0000 (02:21 +0000)
commitaab6bb3d32e207c89364504e4a195f9f0cf5ce31
tree3aedc17b2af45841e8fe5563aefe89e1d672cf68
parentc974257821208fc6191779d1ddea918499f165b8
MdeModulePkg/DxeCapsuleLibFmp: Capsule on Disk file name capsule

Enhance RelocateCapsuleToRam() to skip creation of the Capsule on Disk
file name capsule if PcdSupportUpdateCapsuleReset feature is not enabled.
This avoids an EFI_UNSUPPORTED return status from UpdateCapsule() when the
file name capsule is encountered and PcdSupportUpdateCapsuleReset is FALSE.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Bob Morgan <bobm@nvidia.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdeModulePkg/Library/DxeCapsuleLibFmp/CapsuleOnDisk.c
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf