]> git.proxmox.com Git - mirror_edk2.git/commit - EmbeddedPkg/Include/Ppi/EmbeddedGpio.h
EmbeddedPkg: introduce GPIO PPI
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 1 Nov 2017 12:54:39 +0000 (12:54 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 5 Nov 2017 16:18:49 +0000 (16:18 +0000)
commitb1832e16ddced2c3d191307c9bc56806d713f27e
tree783171b43f3306995cfc27095d0ee059f967daf3
parent5cf459731f5b93dc0fd1a8a8194cff7f6d95ad78
EmbeddedPkg: introduce GPIO PPI

Introduce a PPI counterpart of the existing 'embedded GPIO' protocol,
so we can manipulate GPIOs from PEI modules. This allows things like
setting the boot mode based on a DIP switch setting.

Note that the naming is slightly awkward, as there is nothing 'embedded'
about a GPIO, but given that the DXE protocol already resides here and
has the 'embedded' prefix, it makes sense to retain uniformity.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
EmbeddedPkg/EmbeddedPkg.dec
EmbeddedPkg/Include/Ppi/EmbeddedGpio.h [new file with mode: 0644]