]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency
authorLaszlo Ersek <lersek@redhat.com>
Mon, 2 Feb 2015 12:01:48 +0000 (12:01 +0000)
committerlersek <lersek@Edk2>
Mon, 2 Feb 2015 12:01:48 +0000 (12:01 +0000)
commit16b7aff06b4379eaac48dc6e78c7a3944c0bdbad
tree0c6767f26a508a95dc4afbe7fad751b74ab72c74
parentb36bc5af5854c3cd8b500e189366f1402ac30100
ArmPkg: ArmArchTimerLib: conditionally rebase to actual timer frequency

Allow a platform to set PcdArmArchTimerFreqInHz to zero, and consider it a
request to use the actual timer frequency.

No global variable is introduced, so that the library can be used in PEIMs
that execute from flash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16691 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c