From a42400f24f94a69ef9effd3961b277ac52734652 Mon Sep 17 00:00:00 2001 From: Lei YU Date: Tue, 22 Aug 2017 17:04:43 +0800 Subject: pysystemmgr: Fix pci_reset_outs The pcie_reset_outs is incorrect and cause the PCIE reset functionality broken. Fix this by correctly parsing the GPIO config table. Change-Id: I14bef6eba32c43fcc8e13ec956ad2e171d3e90b8 Signed-off-by: Lei YU --- pysystemmgr/system_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysystemmgr/system_manager.py b/pysystemmgr/system_manager.py index d145e74..ff7fd69 100644 --- a/pysystemmgr/system_manager.py +++ b/pysystemmgr/system_manager.py @@ -191,7 +191,7 @@ class SystemManager(DbusProperties, DbusObjectManager): latch_out = power_config.get('latch_out', '') power_up_outs = power_config.get('power_up_outs', []) reset_outs = power_config.get('reset_outs', []) - pci_reset_outs = System.GPIO_CONFIGS.get('pci_reset_outs', []) + pci_reset_outs = power_config.get('pci_reset_outs', []) hostctl_config = System.GPIO_CONFIGS.get('hostctl_config', {}) fsi_data = hostctl_config.get('fsi_data', '') fsi_clk = hostctl_config.get('fsi_clk', '') -- cgit v1.2.1