Skip to content

Commit

Permalink
Adds MRD coarse
Browse files Browse the repository at this point in the history
Change-Id: Ibe1b416a21e9301d0fa6418a100a902346b2b2ed
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67914
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68574
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
sglancy6 authored and crgeddes committed Dec 14, 2018
1 parent 9b44181 commit c95d3d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ fapi_try_exit:
/// @param[in] i_target - the MCA target on which to operate
/// @param[in] i_rp - the rank pair
/// @param[in] i_abort_on_error - whether or not we are aborting on cal error
/// @return fapi2::ReturnCode fapi2::FAPI2_RC_SUCCESS iff ok
/// @return fapi2::ReturnCode fapi2::FAPI2_RC_SUCCESS if ok
///
fapi2::ReturnCode mrep::pre_workaround( const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_target,
const uint64_t i_rp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,6 @@ class mrep : public step

};

// TK:LRDIMM Identify if Host Interface Write Leveling (HWL) Mode needs to be updated or if the PHY can handle it
// TK:LRDIMM Identify if Host Interface Read Training is any different
// TK:LRDIMM Identify if Host Interface Write training Training is any different

///
/// @brief Sets data buffer training mode control word
/// @param[in] i_target the DIMM target
Expand Down Expand Up @@ -685,6 +681,7 @@ inline fapi2::ReturnCode mpr_read( const fapi2::Target<fapi2::TARGET_TYPE_DIMM>&
fapi_try_exit:
return fapi2::current_err;
}

///
/// @brief Deconfigures calibration steps depending upon LRDIMM type
/// @param[in] i_dimm_type - DIMM type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

#ifdef LRDIMM_CAPABLE
#include <lib/phy/mss_dwl.H>
#include <lib/phy/mss_mrd_coarse.H>
#include <lib/phy/mss_mrd_fine.H>
#include <lib/phy/mss_mwd_coarse.H>
#include <lib/phy/mss_mwd_fine.H>
Expand Down Expand Up @@ -1227,6 +1228,13 @@ std::vector<std::shared_ptr<step>> steps_factory(const fapi2::buffer<uint32_t>&

#ifdef LRDIMM_CAPABLE

// MRD_COARSE
if(i_cal_steps.getBit<mss::cal_steps::MRD_COARSE>())
{
FAPI_INF("LRDIMM: MRD_COARSE is enabled");
l_steps.push_back(std::make_shared<mss::training::lrdimm::mrd_coarse>());
}

// MRD_FINE
if(i_cal_steps.getBit<mss::cal_steps::MRD_FINE>())
{
Expand Down

0 comments on commit c95d3d8

Please sign in to comment.