]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
ArmPlatformPkg: PL061 - rewrite the hardware interaction
authorLeif Lindholm <leif.lindholm@linaro.org>
Wed, 28 Oct 2015 18:11:49 +0000 (18:11 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 26 Feb 2016 16:50:27 +0000 (16:50 +0000)
commit328d8cfa6278a5558ce510662df73f4c17086567
tree12a8571d754cf48e3868e1150fbceb75359e43be
parent41501f18fdc003f973460057e36fa097dca3e571
ArmPlatformPkg: PL061 - rewrite the hardware interaction

The PL061 GPIO controller is a bit of an anachronism, and the existing
driver does nothing to hide this - leading to it being very tricky to
read.

Rewrite it to document (in comments and code) what is actually
happening, and fix some bugs in the process.

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>
ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c
ArmPlatformPkg/Include/Drivers/PL061Gpio.h