summaryrefslogtreecommitdiffstats
path: root/pysystemmgr
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 /pysystemmgr
parentdfda936510a56421370267ef5fc54b10b739c67c (diff)
downloadtalos-skeleton-0475f65f5feb9381ef2710dca96b545546ccd944.tar.gz
talos-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 'pysystemmgr')
-rw-r--r--pysystemmgr/system_manager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pysystemmgr/system_manager.py b/pysystemmgr/system_manager.py
index e6bdd29..5152ff2 100644
--- a/pysystemmgr/system_manager.py
+++ b/pysystemmgr/system_manager.py
@@ -184,13 +184,14 @@ class SystemManager(DbusProperties, DbusObjectManager):
return r
@dbus.service.method(DBUS_NAME, in_signature='',
- out_signature='ssa(sb)a(sb)')
+ out_signature='ssa(sb)a(sb)a(sbb)')
def getPowerConfiguration(self):
power_good_in = System.POWER_CONFIG.get('power_good_in', '')
latch_out = System.POWER_CONFIG.get('latch_out', '')
power_up_outs = System.POWER_CONFIG.get('power_up_outs', [])
reset_outs = System.POWER_CONFIG.get('reset_outs', [])
- r = [power_good_in, latch_out, power_up_outs, reset_outs]
+ pci_reset_outs = System.POWER_CONFIG.get('pci_reset_outs', [])
+ r = [power_good_in, latch_out, power_up_outs, reset_outs, pci_reset_outs]
print "Power GPIO config: " + str(r)
return r
OpenPOWER on IntegriCloud