summaryrefslogtreecommitdiff
path: root/ArmPkg/Drivers/TimerDxe
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-08-27 10:12:55 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-27 10:12:55 +0000
commit09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b (patch)
tree721e45bd3fd16357d3669c2e649474e13730e17d /ArmPkg/Drivers/TimerDxe
parent33292af5f13b18ef5124f32a7bbf0b05b2d519c5 (diff)
downloadedk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.zip
edk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.tar.gz
edk2-09c1b24c2f6c95f8c0b952dfd3caa25fd8aa578b.tar.bz2
ArmPkg/TimerDxe: Fixed the reloading of the period
Prior to this change the period was restored to the default period. This change restores the latest 'set period'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15922 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers/TimerDxe')
-rw-r--r--ArmPkg/Drivers/TimerDxe/TimerDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Drivers/TimerDxe/TimerDxe.c b/ArmPkg/Drivers/TimerDxe/TimerDxe.c
index ccdb38c..279b50f 100644
--- a/ArmPkg/Drivers/TimerDxe/TimerDxe.c
+++ b/ArmPkg/Drivers/TimerDxe/TimerDxe.c
@@ -293,7 +293,7 @@ TimerInterruptHandler (
}
// Reload the Timer
- TimerDriverSetTimerPeriod (&gTimer, FixedPcdGet32(PcdTimerPeriod));
+ TimerDriverSetTimerPeriod (&gTimer, mTimerPeriod);
}
// Enable timer interrupts