X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Omap35xxPkg%2FTimerDxe%2FTimer.c;h=e99d3451932299ba200a843c71a8bbc5ffd75379;hp=e7684eeddacbf332f1b14dfacad495cbc5e302fe;hb=55bff42e00b9ccd8fda408cd1fd4db6442c0a266;hpb=d39eb83cc5ce2147264e2ea3566c4dbf7eb9888d;ds=sidebyside 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;