summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/phosphor-networkd-rev.bbclass
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-05-04 20:43:05 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-15 20:59:00 +0300
commit675d9943cc9fb956ac6e27b91a59a7641a1fc2c1 (patch)
treece4837fbffa75970aa06a20596ad673aa95de2bd /meta-phosphor/classes/phosphor-networkd-rev.bbclass
parente023ada680c166ec0caf81f08b736bb3f5af763e (diff)
downloadopenbmc-675d9943cc9fb956ac6e27b91a59a7641a1fc2c1.tar.xz
wspoon: Find OCC power labels using function IDs
Change to using an indirect lookup with the *_function_id file to determine what the OCC's hwmon power values represent, similar to how the OCC temps used the *_label files. The current code was hardcoding them, assuming hwmon would number them the same every time, but that is not the case. The function IDs are documented here: https://github.com/open-power/docs/blob/master/occ/OCC_P9_FW_Interfaces.pdf Resolves openbmc/openbmc#3152 Change-Id: Id4c50c7175a8108c317d9c301ad4a682a4f4c89f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/classes/phosphor-networkd-rev.bbclass')
0 files changed, 0 insertions, 0 deletions