summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/HiiDatabaseDxe
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2013-11-08 02:23:27 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-11-08 02:23:27 +0000
commitcd6abb00402d747c664fb2b3344c248d16307256 (patch)
tree512194551de70fb25196ab218d1a1cbdd698f4ab /MdeModulePkg/Universal/HiiDatabaseDxe
parent07d7dbaeba98b0f1b567cdb7d26de12aeae49b9a (diff)
downloadedk2-cd6abb00402d747c664fb2b3344c248d16307256.zip
edk2-cd6abb00402d747c664fb2b3344c248d16307256.tar.gz
edk2-cd6abb00402d747c664fb2b3344c248d16307256.tar.bz2
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
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/Image.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c
index ccd1975..efa5bbb 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c
@@ -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: