summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-08-18 12:08:56 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-08-22 21:15:09 +0000
commit1af20dc81202e06211e39a8e0ac03aef80437b26 (patch)
tree0afc50bd7f03a1924adf80dc60c587b47a55eed9 /meta-phosphor
parenteebcd5fe997f936dd5800ac5eb364e8495e6b9cb (diff)
downloadtalos-openbmc-1af20dc81202e06211e39a8e0ac03aef80437b26.tar.gz
talos-openbmc-1af20dc81202e06211e39a8e0ac03aef80437b26.zip
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>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml14
1 files changed, 14 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 61c43cf1d..ee474ad3e 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
@@ -107,3 +107,17 @@ cpucore_func_sensor:
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
OpenPOWER on IntegriCloud