oem_ibm: Tie hb_tpm_required to TPMEnable dbus property
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I67c45f31beaefc43eccb377da964b5263aad9f21
diff --git a/oem/ibm/configurations/bios/enum_attrs.json b/oem/ibm/configurations/bios/enum_attrs.json
index ec59d18..605b8d3 100644
--- a/oem/ibm/configurations/bios/enum_attrs.json
+++ b/oem/ibm/configurations/bios/enum_attrs.json
@@ -393,7 +393,15 @@
"Required"
],
"helpText" : "When the 'TPM Required Policy' is 'Required', a functional TPM is required to boot the system",
- "displayName" : "TPM Required Policy (pending)"
+ "displayName" : "TPM Required Policy (pending)",
+ "dbus":
+ {
+ "object_path" : "/xyz/openbmc_project/control/host0/TPMEnable",
+ "interface" : "xyz.openbmc_project.Control.TPM.Policy",
+ "property_name" : "TPMEnable",
+ "property_type" : "bool",
+ "property_values" : [true, false]
+ }
},
{
"attribute_name":"hb_tpm_required_current",