summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/runtime/rt_pnor.C
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2017-05-16 16:35:59 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-05-25 11:40:12 -0400
commit4d9e5a4a231d2a4a14231bc5a01d4590cb88d96d (patch)
treea6b574ee596fd12bc5c0ba3e9bf750fc6f46e2eb /src/usr/pnor/runtime/rt_pnor.C
parentb0ebbd785a2357f2be093178c92bc9b59cd3530b (diff)
downloadtalos-hostboot-4d9e5a4a231d2a4a14231bc5a01d4590cb88d96d.tar.gz
talos-hostboot-4d9e5a4a231d2a4a14231bc5a01d4590cb88d96d.zip
Fix up Event Types for PCR Extend
Trusted Boot will now use correct event types when performing PCR extend for PNOR sections that are meant to establish a core root of trust. Change-Id: I3cb62e2899083c898e1af6a2031cc8a0a365015e RTC:172332 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40601 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Timothy R. Block <block@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/runtime/rt_pnor.C')
-rw-r--r--src/usr/pnor/runtime/rt_pnor.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C
index d4f5f8400..6a1541721 100644
--- a/src/usr/pnor/runtime/rt_pnor.C
+++ b/src/usr/pnor/runtime/rt_pnor.C
@@ -743,7 +743,7 @@ errlHndl_t RtPnor::setSecure(const uint8_t* i_tocBuffer,
auto const l_ffs_hdr = reinterpret_cast<const ffs_hdr*>(i_tocBuffer);
for(uint32_t i=0; i<l_ffs_hdr->entry_count; ++i)
{
- uint32_t l_secId = PNOR::INVALID_SECTION;
+ PNOR::SectionId l_secId = PNOR::INVALID_SECTION;
// Get current entry section id
auto cur_entry = &(l_ffs_hdr->entries[i]);
OpenPOWER on IntegriCloud