Set required properties for TPM FRU through configuration file
Add extra properties "present", "Field replaceable",
"cacheable" to config file for Trusted Platform
Module(TPM) FRU.
(From meta-phosphor rev: acea36587d7c061bd59c9ce2022a066cbb50fb0f)
Change-Id: I9664be7a4e0589928ec7c7b2a1150c7b04e1cf9d
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-mrw/config.yaml b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-mrw/config.yaml
index ad55610..079ba50 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-mrw/config.yaml
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-properties-mrw/config.yaml
@@ -29,3 +29,11 @@
Cached: 'false'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
+
+TPM:
+ xyz.openbmc_project.Inventory.Decorator.Replaceable:
+ FieldReplaceable: 'true'
+ xyz.openbmc_project.Inventory.Decorator.Cacheable:
+ Cached: 'false'
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'