summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2016-02-26 15:36:09 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-02 16:22:39 -0500
commit878a49592e2ebd9513d728b1c88765f5d7073837 (patch)
tree16088940f40366d2765eca141957556872d1e3e3
parentd8f5f105b717836ceb98a29951a599b88603a5b6 (diff)
downloadtalos-hostboot-878a49592e2ebd9513d728b1c88765f5d7073837.tar.gz
talos-hostboot-878a49592e2ebd9513d728b1c88765f5d7073837.zip
Add read pointer delay config
Change-Id: I1d9e424fea672a621b88aea82ac7aa07efdbcdb6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21368 Tested-by: Jenkins Server Tested-by: Auto Mirror Tested-by: Hostboot CI Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: CRAIG C. HAMILTON <cchamilt@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21355 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C
index 6646b0daf..124722c55 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C
@@ -70,6 +70,17 @@ extern "C"
FAPI_TRY( l_mc.setup_xlate_map(p) );
}
+ // Setup the read_pointer_delay
+ // TK: Do we need to do this in general or is this a place holder until the
+ // init file gets here?
+ {
+ fapi2::buffer<uint64_t> l_data;
+ FAPI_TRY( mss::getScom(i_target, MCBIST_MBSEC0Q, l_data) );
+ l_data.insertFromRight<MCA_RECR_MBSECCQ_READ_POINTER_DELAY, MCA_RECR_MBSECCQ_READ_POINTER_DELAY_LEN>(0x1);
+ FAPI_DBG("writing read pointer delay 0x%016lx", l_data);
+ FAPI_TRY( mss::putScom(i_target, MCBIST_MBSEC0Q, l_data) );
+ }
+
for (auto p : l_mca)
{
OpenPOWER on IntegriCloud