summaryrefslogtreecommitdiff
path: root/Silicon/Socionext/SynQuacer/SynQuacer.dec
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-01 13:23:01 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-25 22:25:11 +0000
commit71096fc4a8a98d555ff709d628dcbbd9c99c5d96 (patch)
treec0bcebacb03f0f4fca7f2b8d1dc98861bfd69998 /Silicon/Socionext/SynQuacer/SynQuacer.dec
parent563c2efbfa0580f4a1efee368cfc77d27bf33a1f (diff)
downloadedk2-platforms-71096fc4a8a98d555ff709d628dcbbd9c99c5d96.tar.xz
Silicon/SynQuacer: implement 'clear NVRAM' feature using a DIP switch
Ordinary computers typically have a physical switch or jumper on the board that allows non-volatile settings to be cleared. Let's implement the same using DIP switch #1 on block #3, and clear the EFI variable store if it is set to ON at boot time. 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 'Silicon/Socionext/SynQuacer/SynQuacer.dec')
-rw-r--r--Silicon/Socionext/SynQuacer/SynQuacer.dec3
1 files changed, 3 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/SynQuacer.dec b/Silicon/Socionext/SynQuacer/SynQuacer.dec
index 1a683b8152..4e5ccea6a4 100644
--- a/Silicon/Socionext/SynQuacer/SynQuacer.dec
+++ b/Silicon/Socionext/SynQuacer/SynQuacer.dec
@@ -30,3 +30,6 @@
gSynQuacerTokenSpaceGuid.PcdNetsecEepromBase|0|UINT32|0x00000002
gSynQuacerTokenSpaceGuid.PcdNetsecPhyAddress|0|UINT8|0x00000003
+
+ # GPIO pin index [0 .. 31] or MAX_UINT8 for not implemented
+ gSynQuacerTokenSpaceGuid.PcdClearSettingsGpioPin|0xFF|UINT8|0x00000004