summaryrefslogtreecommitdiffstats
path: root/configs/Firestone.py
diff options
context:
space:
mode:
authorYi Li <adamliyi@msn.com>2016-10-25 13:19:59 +0800
committerPatrick Williams <patrick@stwcx.xyz>2016-11-18 15:01:54 +0000
commit0475f65f5feb9381ef2710dca96b545546ccd944 (patch)
tree87b47b5740441be769d0e4ae0f487c4d6b259991 /configs/Firestone.py
parentdfda936510a56421370267ef5fc54b10b739c67c (diff)
downloadblackbird-skeleton-0475f65f5feb9381ef2710dca96b545546ccd944.tar.gz
blackbird-skeleton-0475f65f5feb9381ef2710dca96b545546ccd944.zip
op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION state
When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14). This fix applies to Firestone and Garrison. Partially resolves openbmc/openbmc#315 Change-Id: Ic71c81406ac188b34df89569e2264ea0b94406f3 Signed-off-by: Yi Li <adamliyi@msn.com>
Diffstat (limited to 'configs/Firestone.py')
-rw-r--r--configs/Firestone.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/configs/Firestone.py b/configs/Firestone.py
index 0b7eb17..285c397 100644
--- a/configs/Firestone.py
+++ b/configs/Firestone.py
@@ -460,9 +460,13 @@ POWER_CONFIG = {
('CM1_OE_R_N', True),
('BMC_CP0_RESET_N', False),
('BMC_CFAM_RESET_N_R', False),
- ('PEX8718_DEVICES_RESET_N', False),
- ('CP0_DEVICES_RESET_N', False),
- ('CP1_DEVICES_RESET_N', False),
+ ],
+ 'pci_reset_outs' : [
+ # net name, polarity, reset hold
+ # if 'reset hold' set to 'True', BMC will hold pci reset until host CPU ready to drive PCI
+ ('PEX8718_DEVICES_RESET_N', False, True),
+ ('CP0_DEVICES_RESET_N', False, True),
+ ('CP1_DEVICES_RESET_N', False, True),
],
}
OpenPOWER on IntegriCloud