summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-01-30 08:14:05 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-16 17:30:14 -0500
commitd1d4d9e33123447b50eab30609fde0497e99e4a3 (patch)
treef64f67a23ede53394d35539187943c577ae5c4b7 /src/usr/pnor
parent57d244f433c978a8eb831f9cef5acc70ad1ac8e6 (diff)
downloadtalos-hostboot-d1d4d9e33123447b50eab30609fde0497e99e4a3.tar.gz
talos-hostboot-d1d4d9e33123447b50eab30609fde0497e99e4a3.zip
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 <crgeddes@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/pnor_utils.C3
-rw-r--r--src/usr/pnor/test/pnorrptest.H8
2 files changed, 6 insertions, 5 deletions
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++)
{
OpenPOWER on IntegriCloud