diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-10-06 17:44:13 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-10-24 16:35:35 +0300 |
commit | 6fb21ca719c5d319fefe8601b04360c00465ee90 (patch) | |
tree | 615ef15f1d34ad94e429c998bb1cfd8a43c0a3f6 /meta-phosphor/common | |
parent | b94ddcc7896fe00cb79e33b39698d23713eba75b (diff) | |
download | openbmc-6fb21ca719c5d319fefe8601b04360c00465ee90.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
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 7666265f9..847e26925 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 @@ tpm_required_sensor: 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 |