summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2016-12-15 11:08:19 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-04 17:31:43 -0500
commit3baa314e0a6fa6f1b6f23dc4533e00ce4c3943ea (patch)
treefbadf44f34e4872b36085a8810d44bcbae999f28 /src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H
parent35fd3582e83aee3b25a5cf916a627483174b9568 (diff)
downloadtalos-hostboot-3baa314e0a6fa6f1b6f23dc4533e00ce4c3943ea.tar.gz
talos-hostboot-3baa314e0a6fa6f1b6f23dc4533e00ce4c3943ea.zip
Change sf_read to run multiple ports to end of MCBIST range
CQ: SW372805 Change-Id: Icc4f3d7846f1000d0aa9f05d4e1a68f9f9d12287 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34141 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34144 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H
index d2c3fe44d..7b7e63825 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/settings.H
@@ -713,7 +713,7 @@ struct constraints
iv_end_boundary(NONE),
iv_speed(LUDICROUS),
iv_start_address(0),
- iv_end_address(0)
+ iv_end_address(mcbist::address::LARGEST_ADDRESS)
{
}
@@ -764,13 +764,19 @@ struct constraints
const speed i_speed,
const end_boundary i_end_boundary,
const address& i_start_address,
- const address& i_end_address = mcbist::address(0) ):
+ const address& i_end_address = mcbist::address(mcbist::address::LARGEST_ADDRESS) ):
constraints(i_stop, i_start_address)
{
iv_end_boundary = i_end_boundary;
iv_speed = i_speed;
iv_end_address = i_end_address;
FAPI_INF("setting up constraints with end boundary %d and speed 0x%x", i_end_boundary, i_speed);
+
+ // If our end address is 'before' our start address, make the end address the same as the start.
+ if (iv_start_address > iv_end_address)
+ {
+ iv_end_address = iv_start_address;
+ }
}
stop_conditions iv_stop;
OpenPOWER on IntegriCloud