From 120522fd7f1e9b8e6942a63b43ba0b7c08aa504a Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Thu, 15 Jun 2017 17:27:51 -0500 Subject: 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 Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/usr/pnor/runtime/rt_pnor.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/usr/pnor/runtime') 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; -- cgit v1.2.1