Cleanup name issues with PCD entries.
[mirror_edk2.git] / Omap35xxPkg / Library / Omap35xxTimerLib / TimerLib.c
index 1b1f2a9dbe227ba26042174555dfe37b99ae5614..16a3359dff920d3fe20cd5a11055b0c563ec3323 100644 (file)
@@ -55,7 +55,7 @@ NanoSecondDelay (
   UINT32  ElapsedTime;\r
   UINT32  TimerCountRegister;\r
 \r
-  Delay = (NanoSeconds / PcdGet32(PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds)) + 1;\r
+  Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1;\r
   \r
   TimerCountRegister = TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TCRR;\r
 \r
@@ -67,7 +67,7 @@ NanoSecondDelay (
     ElapsedTime = CurrentTime - StartTime;\r
   } while (ElapsedTime < Delay);\r
 \r
-  NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds);\r
+  NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds);\r
 \r
   return NanoSeconds;\r
 }\r
@@ -98,5 +98,5 @@ GetPerformanceCounterProperties (
     *EndValue = 0xFFFFFFFF;\r
   }\r
   \r
-  return PcdGet64(PcdEmbeddedPerformanceCounterFreqencyInHz);\r
+  return PcdGet64(PcdEmbeddedPerformanceCounterFrequencyInHz);\r
 }\r