summaryrefslogtreecommitdiff
path: root/Omap35xxPkg/Library
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/Library
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/Library')
-rw-r--r--Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf4
-rw-r--r--Omap35xxPkg/Library/Omap35xxTimerLib/TimerLib.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf b/Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
index 515dff9f65..8ef9605ec2 100644
--- a/Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
+++ b/Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
@@ -39,7 +39,7 @@
IoLib
[Pcd]
- gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFreqencyInHz
- gEmbeddedTokenSpaceGuid.PcdEmbeddedFdPerformanceCounterPeriodInNanoseconds
+ gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz
+ gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds
gOmap35xxTokenSpaceGuid.PcdOmap35xxFreeTimer
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);
}