summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c')
-rw-r--r--Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c b/Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c
index 1b1f2a9dbe..16a3359dff 100644
--- a/Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c
+++ b/Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c
@@ -55,7 +55,7 @@ NanoSecondDelay (
UINT32 ElapsedTime;
UINT32 TimerCountRegister;
- Delay = (NanoSeconds / PcdGet32(PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds)) + 1;
+ Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1;
TimerCountRegister = TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TCRR;
@@ -67,7 +67,7 @@ NanoSecondDelay (
ElapsedTime = CurrentTime - StartTime;
} while (ElapsedTime < Delay);
- NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds);
+ NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds);
return NanoSeconds;
}
@@ -98,5 +98,5 @@ GetPerformanceCounterProperties (
*EndValue = 0xFFFFFFFF;
}
- return PcdGet64(PcdEmbeddedPerformanceCounterFreqencyInHz);
+ return PcdGet64(PcdEmbeddedPerformanceCounterFrequencyInHz);
}