summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-27 17:07:34 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-27 17:07:34 +0000
commit2cf57c92af9ae3bd9ac506071c4ef1c6e7535fd5 (patch)
tree5bc23955c13e483a200dffa7be8259bc82a07f2b
parente77406fafeea44c4777d73203527252ab98d3e53 (diff)
downloadedk2-platforms-2cf57c92af9ae3bd9ac506071c4ef1c6e7535fd5.tar.xz
ArmPkg/PL180Mci: Fix build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11598 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ArmPkg/Drivers/PL180MciDxe/PL180Mci.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ArmPkg/Drivers/PL180MciDxe/PL180Mci.h b/ArmPkg/Drivers/PL180MciDxe/PL180Mci.h
index 46c6700974..53a0b1c5af 100644
--- a/ArmPkg/Drivers/PL180MciDxe/PL180Mci.h
+++ b/ArmPkg/Drivers/PL180MciDxe/PL180Mci.h
@@ -90,11 +90,11 @@
#define MCI_DATACTL_STREAM_TRANS 4
#define MCI_DATACTL_DMA_ENABLE (1 << 3)
-#define INDX(CMD_INDX) ((CMD_INDX & 0x3F) | MCI_CPSM_ENABLED)
+#define INDX_MASK 0x3F
-#define MCI_CPSM_ENABLED (1 << 10)
-#define MCI_CPSM_WAIT_RESPONSE (1 << 6)
-#define MCI_CPSM_LONG_RESPONSE (1 << 7)
+#define MCI_CPSM_ENABLED (1 << 10)
+#define MCI_CPSM_WAIT_RESPONSE (1 << 6)
+#define MCI_CPSM_LONG_RESPONSE (1 << 7)
#define MCI_TRACE(txt) DEBUG((EFI_D_BLKIO, "ARM_MCI: " txt "\n"))