]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
MdeModulePkg DxeCapsuleLibFmp: Update SupportCapsuleImage() for Fake Capsule
authorLiming Gao <liming.gao@intel.com>
Mon, 14 Jan 2019 02:31:27 +0000 (10:31 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 11 Feb 2019 04:58:45 +0000 (12:58 +0800)
commit8a1a7774d23297891bd4efc2e9bceebdcff1679a
tree811b0b1a69fcbf83574edb71898179dcd8d8b245
parent2a784a2cc356df5a8958afe88bc7e844dc0fb7cc
MdeModulePkg DxeCapsuleLibFmp: Update SupportCapsuleImage() for Fake Capsule

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1088
Per UEFI spec, the fake capsule image with the header only is a valid case
in QueryCapsuleCpapbilities(). So, SupportCapsuleImage() is updated to
support this case.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c