summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:12:39 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:12:39 +0000
commit151acec6e15daa19986985a3f86ded3a8bcf6a3a (patch)
treee14adaf644df6d1664166b56d8f062ee910dd13e
parent11e667fbabab94f1c020fc37204b50526a7bb9f8 (diff)
downloadedk2-platforms-151acec6e15daa19986985a3f86ded3a8bcf6a3a.tar.xz
ArmPkg: Fix ARMGCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12165 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xArmPkg/Library/ArmDmaLib/ArmDmaLib.c2
-rw-r--r--EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c b/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c
index f8d8a7542b..4764b4237a 100755
--- a/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c
+++ b/ArmPkg/Library/ArmDmaLib/ArmDmaLib.c
@@ -96,7 +96,7 @@ DmaMap (
((*NumberOfBytes % gCacheAlignment) != 0)) {
// Get the cacheability of the region
- Status = gDS->GetMemorySpaceDescriptor (HostAddress, &GcdDescriptor);
+ Status = gDS->GetMemorySpaceDescriptor (*DeviceAddress, &GcdDescriptor);
if (EFI_ERROR(Status)) {
return Status;
}
diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c b/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c
index e222a784b7..cc0d5bdc23 100644
--- a/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c
+++ b/EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c
@@ -196,7 +196,6 @@ MmcIdentificationMode (
UINTN CmdArg;
BOOLEAN IsHCS;
EFI_MMC_HOST_PROTOCOL *MmcHost;
- UINTN CmdRetryCnt;
MmcHost = MmcHostInstance->MmcHost;
CmdArg = 0;