]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c
MdeModulePkg/CdExpressPei: Fix capsule size mismatch issue.
authorJiewen Yao <jiewen.yao@intel.com>
Fri, 30 Sep 2016 02:42:26 +0000 (10:42 +0800)
committerJiewen Yao <jiewen.yao@intel.com>
Sat, 8 Oct 2016 01:31:05 +0000 (09:31 +0800)
commit9381ad8701275b802c6f6c9d5629a084afa93ddc
treeb27fdb6c361ae74285455b0939e1441580b9f127
parent00b7cc0fe327fcd00d70a8d30f16245cca0c55f2
MdeModulePkg/CdExpressPei: Fix capsule size mismatch issue.

Current PeiCdExpress driver will return capsule size to
be block aligned.
It will fail if we check the capsuleImageSize field.

The patch correct the returned capsule size.

Tested-by: Eric Dong <eric.dong@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c
MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.h