summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat/hdatcommonutil.C
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2017-04-19 08:53:03 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-23 11:01:28 -0400
commit096ef9048330813def6681fb0f45271cb3c24259 (patch)
tree720e1aa4b99dfa1b5f7f8befa4d0248a9abc63a1 /src/usr/hdat/hdatcommonutil.C
parent8a22766d0c63f6dd86b1cfefb624c8645becdab3 (diff)
downloadtalos-hostboot-096ef9048330813def6681fb0f45271cb3c24259.tar.gz
talos-hostboot-096ef9048330813def6681fb0f45271cb3c24259.zip
Add TPM Presence Info to HDAT
Populate HDAT TPM Section with TPM Presence Info by refering to link IDs in HDAT PCRD section and verify that the PRCD section's list of link IDs are unique and valid. Change-Id: I49956aae129b325f55a6358caa0af4da1951b58c RTC:170638 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39658 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@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/hdat/hdatcommonutil.C')
-rw-r--r--src/usr/hdat/hdatcommonutil.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/hdat/hdatcommonutil.C b/src/usr/hdat/hdatcommonutil.C
index 09d377d96..4e40119dd 100644
--- a/src/usr/hdat/hdatcommonutil.C
+++ b/src/usr/hdat/hdatcommonutil.C
@@ -86,7 +86,7 @@ uint32_t hdatTpmDataCalcMaxSize()
l_size += sizeof(hdatTpmData_t);
// account for the size of the TPM Info array header
- l_size += sizeof(hdatSbTpmInfo_t);
+ l_size += sizeof(hdatHDIFDataArray_t);
// account for each element of the TPM Info array
l_size += ((sizeof(hdatSbTpmInstInfo_t) +
OpenPOWER on IntegriCloud