summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2017-02-16 11:13:28 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-20 12:14:47 -0500
commit678f705ab7552ad0695df1c3e2b358f0359f6bfc (patch)
treef35bd9647b95b4ee43b5b3e3159e7417a52063fe /src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
parente6e1cf5cf4cc57669a148e19ec1b9aadd40952c1 (diff)
downloadtalos-hostboot-678f705ab7552ad0695df1c3e2b358f0359f6bfc.tar.gz
talos-hostboot-678f705ab7552ad0695df1c3e2b358f0359f6bfc.zip
Updates MCBIST to use subtests for FIFO mode
FW found a bug where sf_init was timing out because the FIFO settings were not being set correctly. This update fixes that bug by using the subtests in the MCBIST to determine if FIFO mode needs to be run. Change-Id: Ie787a6aaa530ac1763ca04c7f47212bbb0ecdcc7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36563 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36601 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> 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/mcbist.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
index 5c7e847a7..4ad610e13 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
@@ -53,6 +53,18 @@ const std::pair<uint64_t, uint64_t> mcbistTraits<fapi2::TARGET_TYPE_MCBIST>::add
{ START_ADDRESS_3, END_ADDRESS_3 },
};
+const std::vector< mss::mcbist::op_type > mcbistTraits<fapi2::TARGET_TYPE_MCBIST>::FIFO_MODE_REQUIRED_OP_TYPES =
+{
+ mss::mcbist::op_type::WRITE ,
+ mss::mcbist::op_type::READ ,
+ mss::mcbist::op_type::READ_WRITE ,
+ mss::mcbist::op_type::WRITE_READ ,
+ mss::mcbist::op_type::READ_WRITE_READ ,
+ mss::mcbist::op_type::READ_WRITE_WRITE ,
+ mss::mcbist::op_type::RAND_SEQ ,
+ mss::mcbist::op_type::READ_READ_WRITE ,
+};
+
namespace mcbist
{
OpenPOWER on IntegriCloud