diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-01 12:54:39 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-05 16:18:49 +0000 |
commit | b1832e16ddced2c3d191307c9bc56806d713f27e (patch) | |
tree | 783171b43f3306995cfc27095d0ee059f967daf3 /EmbeddedPkg/EmbeddedPkg.dec | |
parent | 5cf459731f5b93dc0fd1a8a8194cff7f6d95ad78 (diff) | |
download | edk2-b1832e16ddced2c3d191307c9bc56806d713f27e.tar.gz edk2-b1832e16ddced2c3d191307c9bc56806d713f27e.tar.bz2 edk2-b1832e16ddced2c3d191307c9bc56806d713f27e.zip |
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>
Diffstat (limited to 'EmbeddedPkg/EmbeddedPkg.dec')
-rw-r--r-- | EmbeddedPkg/EmbeddedPkg.dec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index 52482af13a..cb07d3ece6 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -86,6 +86,9 @@ gPlatformGpioProtocolGuid = { 0x52ce9845, 0x5af4, 0x43e2, {0xba, 0xfd, 0x23, 0x08, 0x12, 0x54, 0x7a, 0xc2 }}
gAndroidBootImgProtocolGuid = { 0x9859bb19, 0x407c, 0x4f8b, {0xbc, 0xe1, 0xf8, 0xda, 0x65, 0x65, 0xf4, 0xa5 }}
+[Ppis]
+ gEdkiiEmbeddedGpioPpiGuid = { 0x21c3b115, 0x4e0b, 0x470c, { 0x85, 0xc7, 0xe1, 0x05, 0xa5, 0x75, 0xc9, 0x7b }}
+
[PcdsFeatureFlag.common]
gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001
gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002
|