From 0475f65f5feb9381ef2710dca96b545546ccd944 Mon Sep 17 00:00:00 2001 From: Yi Li Date: Tue, 25 Oct 2016 13:19:59 +0800 Subject: 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 --- configs/Firestone.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'configs/Firestone.py') 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), ], } -- cgit v1.2.1