commit | 6b06899de33ad9cddf1a92e5e1789cbac01984ac | [log] [tgz] |
---|---|---|
author | Tom Joseph <tomjoseph@in.ibm.com> | Fri Aug 18 12:08:56 2017 +0530 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Aug 22 21:15:09 2017 +0000 |
tree | 32f4b6589657cac08b062f219d5b540610ebc03e | |
parent | c08734a5115086c7bb084604c5ae379af0fe6a2f [diff] |
tpm: Add tpm_required_sensor in sensor config.yaml Resolves openbmc/openbmc#2104 Change-Id: I04db9d42b2460ae9195a5eee988da8dcf03061c7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml index 61c43cf..ee474ad 100644 --- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml +++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -107,3 +107,17 @@ type: "bool" assert: true deassert: false + +tpm_required_sensor: + path: /xyz/openbmc_project/control/host0/TPMEnable + serviceInterface: org.freedesktop.DBus.Properties + readingType: assertion + interfaces: + xyz.openbmc_project.Control.TPM.Policy: + TPMEnable: + 0x00: + type: "bool" + assert: false + 0x01: + type: "bool" + assert: true \ No newline at end of file