summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers/PL180MciDxe/PL180Mci.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Drivers/PL180MciDxe/PL180Mci.c')
-rw-r--r--ArmPkg/Drivers/PL180MciDxe/PL180Mci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPkg/Drivers/PL180MciDxe/PL180Mci.c b/ArmPkg/Drivers/PL180MciDxe/PL180Mci.c
index 0a2a02aacf..697e33f0d0 100644
--- a/ArmPkg/Drivers/PL180MciDxe/PL180Mci.c
+++ b/ArmPkg/Drivers/PL180MciDxe/PL180Mci.c
@@ -60,6 +60,11 @@ MciIsReadOnly (
return (MmioRead32(FixedPcdGet32(PcdPL180SysMciRegAddress)) & 2);
}
+#if 0
+//Note: This function has been commented out because it is not used yet.
+// This function could be used to remove the hardcoded BlockLen used
+// in MciPrepareDataPath
+
// Convert block size to 2^n
STATIC
UINT32
@@ -79,6 +84,7 @@ GetPow2BlockLen (
return Pow2BlockLen;
}
+#endif
VOID
MciPrepareDataPath (