]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: PL061 - only initialize on protocol load
authorLeif Lindholm <leif.lindholm@linaro.org>
Wed, 28 Oct 2015 18:08:53 +0000 (18:08 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 26 Feb 2016 16:50:17 +0000 (16:50 +0000)
For whatever reason, every single operation on the PL061 looked for an
"Initialized" flag, and manually called the initialization function if
not set. Move this to a single call on protocol installation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>

No differences found