Not update the imageId for EXT1,2,4 type.

Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14829 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2013-11-08 02:23:27 +00:00 committed by ydong10
parent 07d7dbaeba
commit cd6abb0040
1 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Implementation for EFI_HII_IMAGE_PROTOCOL.
Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2007 - 2013, 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
which accompanies this distribution. The full text of the license may be found at
@ -81,7 +81,6 @@ GetImageIdOrAddress (
case EFI_HII_IIBT_EXT1:
Length8 = *(ImageBlock + sizeof (EFI_HII_IMAGE_BLOCK) + sizeof (UINT8));
ImageBlock += Length8;
ImageIdCurrent++;
break;
case EFI_HII_IIBT_EXT2:
CopyMem (
@ -90,7 +89,6 @@ GetImageIdOrAddress (
sizeof (UINT16)
);
ImageBlock += Length16;
ImageIdCurrent++;
break;
case EFI_HII_IIBT_EXT4:
CopyMem (
@ -99,7 +97,6 @@ GetImageIdOrAddress (
sizeof (UINT32)
);
ImageBlock += Length32;
ImageIdCurrent++;
break;
case EFI_HII_IIBT_IMAGE_1BIT: