From 21eb63bbdd278d149720fb25bff15c22df0c254d Mon Sep 17 00:00:00 2001 From: "Wei, David" Date: Mon, 9 Jan 2017 10:05:42 +0800 Subject: Fix build error. Reviewed-by: zwei4 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 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 --- .../SouthCluster/Sdio/Dxe/MMC/MmcMediaDeviceDxe/MMCSDBlockIo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Silicon') 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.
+ Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
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++) { -- cgit v1.2.3