From ace0059c18862e7fd2d02e48db38ab23edfd5342 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Sat, 9 Dec 2017 10:00:21 +0000 Subject: 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 Reviewed-by: Leif Lindholm --- Silicon/Socionext/SynQuacer/SynQuacer.dec | 1 + 1 file changed, 1 insertion(+) (limited to 'Silicon/Socionext/SynQuacer/SynQuacer.dec') 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 -- cgit v1.2.3