summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/test
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-01-26 14:44:49 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 15:32:05 -0600
commit19b7e50ba108fcb9d463a1a0b6f67ec4ba597548 (patch)
tree4c317bb4e17b5e0ab93df9e4e0dc60b62c59a87d /src/usr/pnor/test
parent153c1f3ae45fec61c007b230c754cfd2f8ce79cf (diff)
downloadtalos-hostboot-19b7e50ba108fcb9d463a1a0b6f67ec4ba597548.tar.gz
talos-hostboot-19b7e50ba108fcb9d463a1a0b6f67ec4ba597548.zip
Fix physical offset for test_ECC testcase
Change-Id: Ie91713dfdcee1983e0a8f3beb4ad2a29e7d08aa3 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23622 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/test')
-rw-r--r--src/usr/pnor/test/pnorrptest.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/pnor/test/pnorrptest.H b/src/usr/pnor/test/pnorrptest.H
index 427227bf7..eda50ec6e 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,2015 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -128,7 +128,7 @@ class PnorRpTest : public CxxTest::TestSuite
const size_t ECC_PAGESIZE = (PAGESIZE*9)/8;
const uint64_t LOG_OFFSET = PAGESIZE/4; //force a page crossing
const uint64_t PART_OFFSET = PAGESIZE*2 + LOG_OFFSET;
- const uint64_t TEST_PHYS_OFFSET = 0x3590000 //see defaultPnorLayout.xml
+ const uint64_t TEST_PHYS_OFFSET = 0x2415000 //see defaultPnorLayout.xml
+ (ECC_PAGESIZE*2) //matches PART_OFFSET
+ (LOG_OFFSET*9)/8;
OpenPOWER on IntegriCloud