summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2019-01-10 10:30:22 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-01-17 15:50:15 -0600
commitb5c6e0b3b0d4d570246cdb6215d93de955da474f (patch)
tree8ee3420271838e594655efca8347f6d810e0fb14 /src/usr/targeting
parentfba889a1a092467ff83e8540b399c6a7f0d3e748 (diff)
downloadtalos-hostboot-b5c6e0b3b0d4d570246cdb6215d93de955da474f.tar.gz
talos-hostboot-b5c6e0b3b0d4d570246cdb6215d93de955da474f.zip
Add Support for Nuvoton 75x Model of TPMs
This commit adds the ability for hostboot code to support the Nuvoton 75x TPMs along with the current support of the 65x models. A new attribute TPM_MODEL is used to configure the appropriate settings for each model. Change-Id: I14b0f6606a1a94d0ed300fd51bbf3f50e63dfb01 RTC:202356 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70464 Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/attribute_types_hb.xml17
-rw-r--r--src/usr/targeting/common/xmltohb/target_types_hb.xml3
2 files changed, 20 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
index 349d04273..c0cd729ed 100755
--- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
@@ -1189,6 +1189,23 @@
<hbOnly/>
</attribute>
+ <attribute>
+ <id>TPM_MODEL</id>
+ <description>
+ Indicates TPM Model (or family) for a TPM Target
+ 0x00 = Undetermined (reserved if actively detected in the future)
+ 0x01 = Nuvoton 65x (default)
+ 0x02 = Nuvoton 75x
+ </description>
+ <simpleType>
+ <uint8_t>
+ <default>1</default>
+ </uint8_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ </attribute>
+
<enumerationType>
<id>TPM_ROLE</id>
<description>
diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml
index b48f4cea0..a9cd859be 100644
--- a/src/usr/targeting/common/xmltohb/target_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml
@@ -211,6 +211,9 @@
<id>HB_TPM_MUTEX</id>
</attribute>
<attribute>
+ <id>TPM_MODEL</id>
+ </attribute>
+ <attribute>
<id>TPM_ROLE</id>
</attribute>
</targetTypeExtension>
OpenPOWER on IntegriCloud