diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2017-06-15 17:27:51 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-16 09:32:53 -0400 |
commit | 120522fd7f1e9b8e6942a63b43ba0b7c08aa504a (patch) | |
tree | d8eef2f5b766069a554a9424f1bef4a86dc5317b /src/usr/pnor/runtime/rt_pnor.C | |
parent | 97c6fb65b1006ade6de7f1556338bee1d4058c0d (diff) | |
download | talos-hostboot-120522fd7f1e9b8e6942a63b43ba0b7c08aa504a.tar.gz talos-hostboot-120522fd7f1e9b8e6942a63b43ba0b7c08aa504a.zip |
Verify sections for HBRT and put in HB resv memory
Change-Id: I467fe768fce46aa182bbd3c32c090194262d4e75
RTC:175115
CMVC-coreq:1029391
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42009
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@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>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/runtime/rt_pnor.C')
-rw-r--r-- | src/usr/pnor/runtime/rt_pnor.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C index a154254b3..c65ad905d 100644 --- a/src/usr/pnor/runtime/rt_pnor.C +++ b/src/usr/pnor/runtime/rt_pnor.C @@ -259,9 +259,10 @@ errlHndl_t RtPnor::getSectionInfo(PNOR::SectionId i_section, o_info.sha512perEC = (iv_TOC[i_section].version & FFS_VERS_SHA512_PER_EC) ? true : false; #ifdef CONFIG_SECUREBOOT + o_info.secure = iv_TOC[i_section].secure; // We don't verify PNOR sections at runtime, but we // still have to bypass the secure header - if(iv_TOC[i_section].secure) + if(o_info.secure) { o_info.vaddr += PAGESIZE; o_info.size -= PAGESIZE; |