aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2017-05-30 15:54:45 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-16 14:38:46 +1000
commit7133ba8dac984763fc952bcdd1632d1da9a28bce (patch)
tree4b557cde80a542c3e4a580ca86f0d9e3333d97df /core
parentfe604732f58f76858e4517dfab1c8a13b4e83118 (diff)
downloadskiboot-7133ba8dac984763fc952bcdd1632d1da9a28bce.zip
skiboot-7133ba8dac984763fc952bcdd1632d1da9a28bce.tar.gz
skiboot-7133ba8dac984763fc952bcdd1632d1da9a28bce.tar.bz2
platforms/ibm-fsp/firenze: Refactor firenze_pci_setup_power_mgt()
This refactors firenze_pci_setup_power_mgt() and no logicial changes introduced: * Avoid nested if block; * Remove the local variable @buddy. The information is retrieved directly from struct firenze_pci_slot_info::buddy; * Comments to explain the fixed register offset (0x69) for slot's power control and shared power state between local slot and its buddy. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions