diff options
author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2016-07-28 19:17:32 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-26 19:43:10 +1000 |
commit | 90cd9104edd33a4a0869e38e2936f1468c7e58ea (patch) | |
tree | 9a40cd07bec5023cb24defaee6425947ed4d87f7 /hw | |
parent | 50745d87972bfbf858e382c80920766356564ad0 (diff) | |
download | skiboot-90cd9104edd33a4a0869e38e2936f1468c7e58ea.zip skiboot-90cd9104edd33a4a0869e38e2936f1468c7e58ea.tar.gz skiboot-90cd9104edd33a4a0869e38e2936f1468c7e58ea.tar.bz2 |
platforms/ibm-fsp: Use power_ctl bit when determining slot reset method
Previously the power_ctl bit provided by the VPD was unused, now that we
are correctly assigning it we can use it when determining the slot reset
method.
The power_ctl bit is used to represent if power management is available.
If power_ctl is set to true, then the I2C based external power management
functionality will be populated on the PCI slot. Otherwise we will try to
use the inband PERST as the fundamental reset, as before.
While we are here we introduce a helper function to isolate the logic
initialisation for the I2C based external power management, to improve
readibility.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions