summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/test
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/test
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/test')
-rw-r--r--src/usr/pnor/test/pnorrptest.H8
1 files changed, 4 insertions, 4 deletions
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