commit | 6fb21ca719c5d319fefe8601b04360c00465ee90 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Fri Oct 06 09:44:13 2017 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Oct 24 13:35:35 2017 +0000 |
tree | 615ef15f1d34ad94e429c998bb1cfd8a43c0a3f6 | |
parent | b94ddcc7896fe00cb79e33b39698d23713eba75b [diff] |
Add GPU to inventory Added GPUs to the ipmi sensor inventory mrw config. Resolves openbmc/openbmc#1725 Change-Id: Ifbf60475462d5639488fbf8278e57e5d09ae5067 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml index 7666265..847e269 100644 --- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml +++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -147,3 +147,27 @@ 0x01: type: "bool" assert: true + +gpu_func_sensor: + serviceInterface: xyz.openbmc_project.Inventory.Manager + readingType: assertion + interfaces: + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: + Offsets: + 0x08: + type: "bool" + assert: false + deassert: true + Prereqs: + 0x07: + type: "bool" + assert: true + deassert: false + xyz.openbmc_project.Inventory.Item: + Present: + Offsets: + 0x07: + type: "bool" + assert: true + deassert: false