summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-09-29 12:55:43 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-10-20 09:07:29 -0400
commit691a96a53eb439daabf243763b6c56a76891c573 (patch)
treea3b22596997308cd567e1e96e4979dfb9e550460 /src/include
parent3b73246002f677ac22998c3e19c7435aa613ab6b (diff)
downloadtalos-hostboot-691a96a53eb439daabf243763b6c56a76891c573.tar.gz
talos-hostboot-691a96a53eb439daabf243763b6c56a76891c573.zip
Enable OCC on ZZ with Opal
Change-Id: I656c47d2468c8c31509b80492709b0f651b85b42 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47008 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/pnor/pnor_const.H16
-rw-r--r--src/include/usr/pnor/pnorif.H1
2 files changed, 15 insertions, 2 deletions
diff --git a/src/include/usr/pnor/pnor_const.H b/src/include/usr/pnor/pnor_const.H
index 4bc6b4a01..37316e87d 100644
--- a/src/include/usr/pnor/pnor_const.H
+++ b/src/include/usr/pnor/pnor_const.H
@@ -94,7 +94,21 @@ enum PnorMode_t {
// Size and layout of this structure must be maintained for debug framework.
struct SectionInfo_t
{
- SectionInfo_t(): id(INVALID_SECTION), secure(false) {}
+ SectionInfo_t():
+ id(INVALID_SECTION),
+ name("INVALID_SECTION"),
+ vaddr(0),
+ flashAddr(0),
+ size(0),
+ eccProtected(false),
+ sha512Version(false),
+ sha512perEC(false),
+ readOnly(false),
+ reprovision(false),
+ Volatile(false),
+ secure(false),
+ clearOnEccErr(false)
+ {}
SectionId id; /**< Identifier for this section */
const char* name; /**< Name of the section */
uint64_t vaddr; /**< Virtual address of the start of the section */
diff --git a/src/include/usr/pnor/pnorif.H b/src/include/usr/pnor/pnorif.H
index 5dd4a68e8..7e62e6042 100644
--- a/src/include/usr/pnor/pnorif.H
+++ b/src/include/usr/pnor/pnorif.H
@@ -263,7 +263,6 @@ errlHndl_t readHeaderMagic(
size_t i_size,
void* o_pData);
-// @TODO CQ:SW400352 remove function
/**
* @brief Determine if a PNOR section is empty by checking if first PAGE
* is all 0xFF's or 0x00's depending on ECC or not.
OpenPOWER on IntegriCloud