summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/runtime
diff options
context:
space:
mode:
authorNicholas E. Bofferding <bofferdn@us.ibm.com>2018-03-21 10:37:19 -0400
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-26 13:08:58 -0400
commita7decd2eeff585cf534c2aeb1293a1ac02e3f049 (patch)
tree9e5f902dfcc002162a001f88d13f0586ea43cd90 /src/usr/pnor/runtime
parentb2bffd27478b2558c08103de957a9eeaadabb4ff (diff)
downloadtalos-hostboot-a7decd2eeff585cf534c2aeb1293a1ac02e3f049.tar.gz
talos-hostboot-a7decd2eeff585cf534c2aeb1293a1ac02e3f049.zip
Revert "Check the Section Headers in Non-Secure Mode"
This reverts commit c82b626e6ea1d56c0d25cbd5954064e256135002. Change-Id: I0ae2328866e0f90ec583b19044ff917a4f52726c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56126 Tested-by: Jenkins Server <pfd-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> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/runtime')
-rw-r--r--src/usr/pnor/runtime/rt_pnor.C7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/usr/pnor/runtime/rt_pnor.C b/src/usr/pnor/runtime/rt_pnor.C
index 02b230456..ba23cecb5 100644
--- a/src/usr/pnor/runtime/rt_pnor.C
+++ b/src/usr/pnor/runtime/rt_pnor.C
@@ -263,13 +263,6 @@ errlHndl_t RtPnor::getSectionInfo(PNOR::SectionId i_section,
o_info.sha512perEC =
(iv_TOC[i_section].version & FFS_VERS_SHA512_PER_EC) ? true : false;
o_info.secure = iv_TOC[i_section].secure;
-#ifndef CONFIG_SECUREBOOT
- if(iv_TOC[i_section].version & FFS_VERS_SHA512)
- {
- o_info.size -= PAGESIZE;
- o_info.vaddr += PAGESIZE;
- }
-#endif
} while (0);
TRACFCOMP(g_trac_pnor, EXIT_MRK"RtPnor::getSectionInfo %d", i_section);
OpenPOWER on IntegriCloud