diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-07-30 19:49:35 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-01 14:55:03 +0000 |
commit | e76b248d8fc37832a880121551b0780501f14308 (patch) | |
tree | 3c399a7ef734296d8157cc27da8ba113ef963922 /ArmPlatformPkg | |
parent | 8c10017aa7eeb4f58da1fc353d7af3ecb69e4bf7 (diff) | |
download | edk2-e76b248d8fc37832a880121551b0780501f14308.tar.gz edk2-e76b248d8fc37832a880121551b0780501f14308.tar.bz2 edk2-e76b248d8fc37832a880121551b0780501f14308.zip |
ArmPlatformPkg/PrePi: Drop call to TimerConstructor()
Drop the call to the TimerConstructor, which should not be called
explicitly, and does nothing useful to begin with.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r-- | ArmPlatformPkg/PrePi/PrePi.c | 2 | ||||
-rw-r--r-- | ArmPlatformPkg/PrePi/PrePi.h | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/ArmPlatformPkg/PrePi/PrePi.c b/ArmPlatformPkg/PrePi/PrePi.c index 8cc43093b9..f16084673e 100644 --- a/ArmPlatformPkg/PrePi/PrePi.c +++ b/ArmPlatformPkg/PrePi/PrePi.c @@ -172,8 +172,6 @@ CEntryPoint ( ArmPlatformInitialize (MpId);
if (PerformanceMeasurementEnabled ()) {
- // Initialize the Timer Library to setup the Timer HW controller
- TimerConstructor ();
// We cannot call yet the PerformanceLib because the HOB List has not been initialized
StartTimeStamp = GetPerformanceCounter ();
} else {
diff --git a/ArmPlatformPkg/PrePi/PrePi.h b/ArmPlatformPkg/PrePi/PrePi.h index b4ba292c32..4d6e3251d7 100644 --- a/ArmPlatformPkg/PrePi/PrePi.h +++ b/ArmPlatformPkg/PrePi/PrePi.h @@ -23,12 +23,6 @@ extern UINT64 mSystemMemoryEnd;
-RETURN_STATUS
-EFIAPI
-TimerConstructor (
- VOID
- );
-
EFI_STATUS
EFIAPI
MemoryPeim (
|