From e862cd50c6a12183204ba0fa93403d88fd2e0376 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Wed, 15 Jun 2011 19:53:15 +0000 Subject: ArmPkg: Fix warnings raised by ARMGCC git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11829 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Drivers/PL180MciDxe/PL180Mci.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ArmPkg/Drivers') 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 ( -- cgit v1.2.3