From 691a96a53eb439daabf243763b6c56a76891c573 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Fri, 29 Sep 2017 12:55:43 -0500 Subject: Enable OCC on ZZ with Opal Change-Id: I656c47d2468c8c31509b80492709b0f651b85b42 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47008 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Stephen M. Cprek Reviewed-by: William G. Hoffa --- src/include/usr/pnor/pnor_const.H | 16 +++++++++++++++- src/include/usr/pnor/pnorif.H | 1 - 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'src/include') 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. -- cgit v1.2.1