summaryrefslogtreecommitdiff
path: root/Silicon
diff options
context:
space:
mode:
authorWei, David <david.wei@intel.com>2017-01-09 10:05:42 +0800
committerGuo Mang <mang.guo@intel.com>2017-05-09 13:03:07 +0800
commit2b0b5250bf957f4266a50307f9903e6f5e7e6557 (patch)
tree62d445af38ec8f775d7060ea778217c45152395c /Silicon
parent28cd1fd93a3eb573835e5a8880f4d0c7ee78cefe (diff)
downloadedk2-platforms-2b0b5250bf957f4266a50307f9903e6f5e7e6557.tar.xz
Fix build error.
Fix build error for latest VS2015 compiler with IA32 tip. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex <shifeix.a.lu@intel.com> Reviewed-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Silicon')
-rw-r--r--Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c
index f89911c440..5c91190fb0 100644
--- a/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c
+++ b/Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c
@@ -1,7 +1,7 @@
/** @file
Block I/O protocol for MMC/SD device.
- Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2012 - 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
@@ -585,7 +585,8 @@ MMCSDBlockIoInit (
GP_CHUNK_SIZE = 0;
if (((ExtCsd->PARTITIONING_SUPPORT & BIT0) == BIT0) &&
((ExtCsd->PARTITION_SETTING_COMPLETED & BIT0) == BIT0)) {
- GP_CHUNK_SIZE = MultU64x32 (ExtCsd->HC_WP_GRP_SIZE * ExtCsd->HC_ERASE_GRP_SIZE, SIZE_512KB);
+ GP_CHUNK_SIZE = MultU64x32 (ExtCsd->HC_WP_GRP_SIZE, ExtCsd->HC_ERASE_GRP_SIZE);
+ GP_CHUNK_SIZE = MultU64x32 (GP_CHUNK_SIZE, SIZE_512KB);
}
for (Loop = 0; Loop < MAX_NUMBER_OF_PARTITIONS; Partition++, Loop++) {