From b5c6e0b3b0d4d570246cdb6215d93de955da474f Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Thu, 10 Jan 2019 10:30:22 -0600 Subject: 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 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/targeting/common/xmltohb/attribute_types_hb.xml | 17 +++++++++++++++++ src/usr/targeting/common/xmltohb/target_types_hb.xml | 3 +++ 2 files changed, 20 insertions(+) (limited to 'src/usr/targeting') 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 @@ + + TPM_MODEL + + 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 + + + + 1 + + + non-volatile + + + TPM_ROLE 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 @@ -210,6 +210,9 @@ HB_TPM_MUTEX + + TPM_MODEL + TPM_ROLE -- cgit v1.2.1