diff options
author | lushifex <shifeix.a.lu@intel.com> | 2017-09-04 16:22:16 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-09-05 19:46:06 +0800 |
commit | e323321e2e36b876e62da2b3a9056795180e5f48 (patch) | |
tree | 13837f2b70ae954cee456fddb61b8360d1d8764f /Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib | |
parent | c365ab11ecc241e56f09b57aff187a442b76907a (diff) | |
download | edk2-platforms-e323321e2e36b876e62da2b3a9056795180e5f48.tar.xz |
Vlv2TbltDevicePkg: Upgrade core to UDK2017.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lushifex <shifeix.a.lu@intel.com>
Diffstat (limited to 'Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib')
-rw-r--r-- | Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c index bb77abcfde..45c7bcf2d4 100644 --- a/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c +++ b/Vlv2TbltDevicePkg/Library/DxeEsrtCapsuleBsLib/DxeCapsuleLib.c @@ -1,7 +1,7 @@ /** @file
Capsule Boottime Library instance to update capsule image to flash.
- Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -421,7 +421,6 @@ ProcessFmpCapsuleImage ( EFI_STATUS Status;
EFI_STATUS StatusEsrt;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *FmpCapsuleHeader;
- UINT8 *EndOfCapsule;
EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER *ImageHeader;
UINT8 *Image;
EFI_HANDLE ImageHandle;
@@ -456,7 +455,6 @@ ProcessFmpCapsuleImage ( EsrtProtocol = NULL;
FmpCapsuleHeader = (EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER *) ((UINT8 *) CapsuleHeader + CapsuleHeader->HeaderSize);
- EndOfCapsule = (UINT8 *) CapsuleHeader + CapsuleHeader->CapsuleImageSize;
if (FmpCapsuleHeader->Version > EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION) {
return EFI_INVALID_PARAMETER;
|