diff options
author | Wei, David <david.wei@intel.com> | 2017-01-09 10:05:42 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-01-12 17:25:58 +0800 |
commit | 21eb63bbdd278d149720fb25bff15c22df0c254d (patch) | |
tree | 3e91007f0d3f599a168b8deb6a2f0383e0cd3553 /Silicon/BroxtonSoC | |
parent | 35468e2aad64ab8a062d696349220e5581fa2f91 (diff) | |
download | edk2-platforms-21eb63bbdd278d149720fb25bff15c22df0c254d.tar.xz |
Fix build error.
Reviewed-by: zwei4 <david.wei@intel.com>
Thanks,
David Wei
-----Original Message-----
From: Lu, ShifeiX A
Sent: Monday, January 09, 2017 9:39 AM
To: edk2-devel@lists.01.org
Cc: Wei, David <david.wei@intel.com>
Subject: [Patch][edk2-platforms/devel-MinnowBoard3] 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>
Diffstat (limited to 'Silicon/BroxtonSoC')
-rw-r--r-- | Silicon/BroxtonSoC/BroxtonSiPkg/SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c | 5 |
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++) {
|