From d1d4d9e33123447b50eab30609fde0497e99e4a3 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Mon, 30 Jan 2017 08:14:05 -0600 Subject: Add WOFDATA to PNOR The WOFDATA partition will contain the VFRT data that is used for the WOF algorithm. The data is system-specific but was split out from the MRW due to its extreme size. Change-Id: I73a062038897987d6a989c77d6163db058cb8dc0 RTC: 167303 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35651 Reviewed-by: Christian R. Geddes Reviewed-by: Martin Gloff Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Daniel M. Crowell --- src/usr/pnor/pnor_utils.C | 3 ++- src/usr/pnor/test/pnorrptest.H | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/usr/pnor') diff --git a/src/usr/pnor/pnor_utils.C b/src/usr/pnor/pnor_utils.C index 986ea1bf6..1890499bc 100644 --- a/src/usr/pnor/pnor_utils.C +++ b/src/usr/pnor/pnor_utils.C @@ -70,7 +70,7 @@ const char* cv_EYECATCHER[] = { "CVPD", /**< PNOR::CENTAUR_VPD : Centaur VPD */ "NVRAM", /**< PNOR::NVRAM : OPAL Storage */ "OCC", /**< PNOR::OCC : OCC LID */ - "FIRDATA", /**< PNOR::FIRDATA : FIRDATA */ + "FIRDATA", /**< PNOR::FIRDATA : FIRs for checkstop analysis */ "ATTR_TMP", /**< PNOR::ATTR_TMP : Temporary Attribute Overrides */ "ATTR_PERM", /**< PNOR::ATTR_PERM : Permanent Attribute Overrides */ "CAPP", /**< PNOR::CAPP : CAPP LID */ @@ -81,6 +81,7 @@ const char* cv_EYECATCHER[] = { "BACKUP_PART", /**PNOR::BACKUP_PART : Backup of PART*/ "POWERVM", /**< PNOR::POWERVM : Power VM data */ "RINGOVD", /**< PNOR::RINGOVD : Ring overrides */ + "WOFDATA", /**< PNOR::WOFDATA : VFRT data tables for WOF */ }; /** diff --git a/src/usr/pnor/test/pnorrptest.H b/src/usr/pnor/test/pnorrptest.H index bd0c8bc9d..e2be5cba6 100644 --- a/src/usr/pnor/test/pnorrptest.H +++ b/src/usr/pnor/test/pnorrptest.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2016 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -64,8 +64,7 @@ class PnorRpTest : public CxxTest::TestSuite PNOR::SectionInfo_t info; errlHndl_t errhdl = NULL; - //Only check required sections. Some are currently optional due to - //Storage limitations in VPO. + //Only check required sections. const PNOR::SectionId testSections[] = { PNOR::TOC, /**< Table of Contents */ PNOR::HB_EXT_CODE, /**< Hostboot Extended Image */ @@ -73,8 +72,9 @@ class PnorRpTest : public CxxTest::TestSuite PNOR::DIMM_JEDEC_VPD, /**< DIMM JEDEC VPD */ PNOR::MODULE_VPD, /**< Module VPD */ PNOR::RINGOVD, /**< Ring override data */ + PNOR::WOFDATA, /**< WOF data */ }; - uint64_t numSections = 6; + uint64_t numSections = sizeof(testSections)/sizeof(testSections[0]); for( uint64_t idx = 0; idx < numSections; idx++) { -- cgit v1.2.1