summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
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