summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/TimerDxe/Timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Omap35xxPkg/TimerDxe/Timer.c')
-rw-r--r--Omap35xxPkg/TimerDxe/Timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Omap35xxPkg/TimerDxe/Timer.c b/Omap35xxPkg/TimerDxe/Timer.c
index e7684eedda..e99d345193 100644
--- a/Omap35xxPkg/TimerDxe/Timer.c
+++ b/Omap35xxPkg/TimerDxe/Timer.c
@@ -197,7 +197,7 @@ TimerDriverSetTimerPeriod (
Status = gInterrupt->DisableInterruptSource(gInterrupt, gVector);
} else {
// Calculate required timer count
- TimerCount = DivU64x32(TimerPeriod * 100, PcdGet32(PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds));
+ TimerCount = DivU64x32(TimerPeriod * 100, PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds));
// Set GPTIMER3 Load register
LoadValue = (INT32) -TimerCount;