summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/trusted/trustedboot.H
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2016-07-13 16:10:54 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-08-22 13:47:05 -0400
commitb692f91c173ca684b557b8f76d268720e58b36a4 (patch)
tree6f100e0f80e5bc60b69824441e266e1da69e6760 /src/usr/secureboot/trusted/trustedboot.H
parent984f7f35a02e4894c8cb448223bea8d53b64f459 (diff)
downloadtalos-hostboot-b692f91c173ca684b557b8f76d268720e58b36a4.tar.gz
talos-hostboot-b692f91c173ca684b557b8f76d268720e58b36a4.zip
Trustedboot support for using TPM target
Change-Id: I362085fd81663b9b8ec56ed9e0670cf71fc851e4 RTC: 153386 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28482 Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted/trustedboot.H')
-rw-r--r--src/usr/secureboot/trusted/trustedboot.H14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr/secureboot/trusted/trustedboot.H b/src/usr/secureboot/trusted/trustedboot.H
index 930444f77..e3d987231 100644
--- a/src/usr/secureboot/trusted/trustedboot.H
+++ b/src/usr/secureboot/trusted/trustedboot.H
@@ -55,6 +55,14 @@ extern trace_desc_t* g_trac_trustedboot;
namespace TRUSTEDBOOT
{
+/// Common static values
+enum
+{
+ MAX_SYSTEM_TPMS = 2,
+ TPM_MASTER_INDEX = 0, ///< Index into tpm array for master chip
+ TPM_BACKUP_INDEX = 1, ///< Index for backup TPM
+};
+
/// Class object to store system TPM information
class SystemTpms
{
@@ -75,12 +83,8 @@ public:
/**
* @brief Initialize the targeted TPM
* @param[in/out] io_target Current TPM target structure
- * @param[in] i_nodeTarget Node Target
- * @param[in] i_chip Chip to initialize
*/
-void tpmInitialize(TRUSTEDBOOT::TpmTarget & io_target,
- TARGETING::Target* i_nodeTarget,
- TPMDD::tpm_chip_types_t i_chip);
+void tpmInitialize(TRUSTEDBOOT::TpmTarget & io_target);
/**
* @brief Verify a functional TPM still exists in the system
OpenPOWER on IntegriCloud