summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/runtime/rt_pnor.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/pnor/runtime/rt_pnor.C')
-rw-r--r--src/usr/pnor/runtime/rt_pnor.C3
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;
OpenPOWER on IntegriCloud