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>
diff --git a/configs/Palmetto.py b/configs/Palmetto.py
index 19037a1..7ed578c 100644
--- a/configs/Palmetto.py
+++ b/configs/Palmetto.py
@@ -131,14 +131,17 @@
}
POWER_CONFIG = {
- 'power_good_in' : 'PGOOD',
- 'power_up_outs' : [
+ 'power_good_in': 'PGOOD',
+ 'power_up_outs': [
('POWER_PIN', False),
],
- 'reset_outs' : [
- ('PCIE_RESET', False),
+ 'reset_outs': [
('USB_RESET', False),
],
+ 'pci_reset_outs': [
+ # net name, polarity, reset hold
+ ('PCIE_RESET', False, False),
+ ],
}
# Miscellaneous non-poll sensor with system specific properties.