summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/TimerDxe
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-21 22:06:00 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-21 22:06:00 +0000
commit55bff42e00b9ccd8fda408cd1fd4db6442c0a266 (patch)
treeb60d4bef5d1e533b504ff75fedeff9628ba6b221 /Omap35xxPkg/TimerDxe
parentd39eb83cc5ce2147264e2ea3566c4dbf7eb9888d (diff)
downloadedk2-platforms-55bff42e00b9ccd8fda408cd1fd4db6442c0a266.tar.xz
Cleanup name issues with PCD entries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10389 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Omap35xxPkg/TimerDxe')
-rw-r--r--Omap35xxPkg/TimerDxe/Timer.c2
-rw-r--r--Omap35xxPkg/TimerDxe/TimerDxe.inf2
2 files changed, 2 insertions, 2 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;
diff --git a/Omap35xxPkg/TimerDxe/TimerDxe.inf b/Omap35xxPkg/TimerDxe/TimerDxe.inf
index caee465d7a..f4167420b5 100644
--- a/Omap35xxPkg/TimerDxe/TimerDxe.inf
+++ b/Omap35xxPkg/TimerDxe/TimerDxe.inf
@@ -51,7 +51,7 @@
[Pcd.common]
gEmbeddedTokenSpaceGuid.PcdTimerPeriod
- gEmbeddedTokenSpaceGuid.PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds
+ gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds
gOmap35xxTokenSpaceGuid.PcdOmap35xxArchTimer
[Depex]