summaryrefslogtreecommitdiff
path: root/Silicon/Socionext/SynQuacer/SynQuacer.dec
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-12-09 10:00:21 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-12-12 18:36:31 +0000
commitace0059c18862e7fd2d02e48db38ab23edfd5342 (patch)
treefe9398540ac829778153c2e786a30d82df20cef6 /Silicon/Socionext/SynQuacer/SynQuacer.dec
parentd7b0eeadeda2622836817ec7d05adeb553365a62 (diff)
downloadedk2-platforms-ace0059c18862e7fd2d02e48db38ab23edfd5342.tar.xz
Silicon/SynQuacerEvalBoard: enable PCI #0 only when card is detected
The EVB does not boot if PCI RC #0 has no card inserted, and will hang in the PCIe initialization code. So let's check the presence detect GPIO, and only enable PCI RC #0 if it is asserted. 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.dec1
1 files changed, 1 insertions, 0 deletions
diff --git a/Silicon/Socionext/SynQuacer/SynQuacer.dec b/Silicon/Socionext/SynQuacer/SynQuacer.dec
index 2e18cb3334..a21f12b5bc 100644
--- a/Silicon/Socionext/SynQuacer/SynQuacer.dec
+++ b/Silicon/Socionext/SynQuacer/SynQuacer.dec
@@ -36,6 +36,7 @@
# GPIO pin index [0 .. 31] or MAX_UINT8 for not implemented
gSynQuacerTokenSpaceGuid.PcdClearSettingsGpioPin|0xFF|UINT8|0x00000004
+ gSynQuacerTokenSpaceGuid.PcdPcie0PresenceDetectGpioPin|0xFF|UINT8|0x00000006
gSynQuacerTokenSpaceGuid.PcdI2cReferenceClock|62500000|UINT32|0x00000005