diff options
author | Lei YU <mine260309@gmail.com> | 2017-08-22 17:04:43 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2017-08-22 17:04:43 +0800 |
commit | a42400f24f94a69ef9effd3961b277ac52734652 (patch) | |
tree | 0cde0575fa04de5a2cd310d58f1bdad968649084 | |
parent | 3be0995bd46698b3616588f07c6ffe779f88a535 (diff) | |
download | talos-skeleton-a42400f24f94a69ef9effd3961b277ac52734652.tar.gz talos-skeleton-a42400f24f94a69ef9effd3961b277ac52734652.zip |
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 <mine260309@gmail.com>
-rw-r--r-- | pysystemmgr/system_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', '') |