diff options
author | Andre Marin <aamarin@us.ibm.com> | 2017-05-11 11:28:21 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-25 15:40:26 -0400 |
commit | c00a806435284d3ffd4eb1e6e1142ac8723a8ab2 (patch) | |
tree | f9bcc5b5a2975558553371a1fb3f7d6652858194 /src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H | |
parent | 4d9e5a4a231d2a4a14231bc5a01d4590cb88d96d (diff) | |
download | talos-hostboot-c00a806435284d3ffd4eb1e6e1142ac8723a8ab2.tar.gz talos-hostboot-c00a806435284d3ffd4eb1e6e1142ac8723a8ab2.zip |
Remove ZQCAL redundant CCS inst, move to draminit_training
Lab requested to move ZQCL to draminit_training to control
(with granularity) all enabled cal steps from an attribute in
training. Also removing redundant ZQCAL being sent out for both
a-side/b-side and addr_mirroring since this only applies to MRS cmds.
Added new attribute proposal for CAL_STEPS_ENABLE to
account for LRDIMM training steps and more control bits
such as INITIAL_PAT_WR and WR_VRE_LATCH
Change-Id: Ibb758af74966a5dd659bf3dda86f283f73956bca
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38648
Reviewed-by: Louis Stermole <stermole@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: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38650
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H b/src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H index f3a4cd89d..195c540ce 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/phy/ddr_phy.H @@ -131,31 +131,31 @@ fapi2::ReturnCode process_initial_cal_errors( const fapi2::Target<T>& i_target ) /// @tparam T, the target type of the MCA/MBA /// @param[in] i_target the target associated with this cal setup /// @param[in] i_rank_pairs the vector of currently configured rank pairs -/// @param[in] i_cal_steps_enabled fapi2::buffer<uint16_t> representing the cal steps to enable +/// @param[in] i_cal_steps_enabled fapi2::buffer<uint32_t> representing the cal steps to enable /// @return FAPI2_RC_SUCCESS iff setup was successful /// template< fapi2::TargetType T > fapi2::ReturnCode setup_cal_config( const fapi2::Target<T>& i_target, - const std::vector<uint64_t> i_rank_pairs, - const fapi2::buffer<uint16_t> i_cal_steps_enabled); + const std::vector<uint64_t>& i_rank_pairs, + const fapi2::buffer<uint32_t>& i_cal_steps_enabled); /// /// @brief Setup all the cal config register /// @param[in] i_target the target associated with this cal setup /// @param[in] i_rank one currently configured rank pairs -/// @param[in] i_cal_steps_enabled fapi2::buffer<uint16_t> representing the cal steps to enable +/// @param[in] i_cal_steps_enabled fapi2::buffer representing the cal steps to enable /// @return FAPI2_RC_SUCCESS iff setup was successful /// fapi2::ReturnCode setup_cal_config( const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_target, const uint64_t i_rank, - const fapi2::buffer<uint16_t> i_cal_steps_enabled); + const fapi2::buffer<uint32_t>& i_cal_steps_enabled); /// /// @brief Execute a set of PHY cal steps -/// @tparam T, the target type of the MCA/MBA +/// @tparam T the target type associated with this cal /// @param[in] i_target the target associated with this cal /// @param[in] i_rp one of the currently configured rank pairs -/// @param[in] i_cal_steps_enabled fapi2::buffer<uint16_t> representing the cal steps to enable +/// @param[in] i_cal_steps_enabled fapi2::buffer representing the cal steps to enable /// @param[in] i_abort_on_error CAL_ABORT_ON_ERROR override /// @return FAPI2_RC_SUCCESS iff setup was successful /// @note This is a helper function. Library users are required to call setup_and_execute_cal @@ -163,7 +163,7 @@ fapi2::ReturnCode setup_cal_config( const fapi2::Target<fapi2::TARGET_TYPE_MCA>& template< fapi2::TargetType T > fapi2::ReturnCode execute_cal_steps_helper( const fapi2::Target<T>& i_target, const uint64_t i_rp, - const fapi2::buffer<uint16_t> i_cal_steps_enabled, + const fapi2::buffer<uint32_t>& i_cal_steps_enabled, const uint8_t i_abort_on_error); /// @@ -171,14 +171,14 @@ fapi2::ReturnCode execute_cal_steps_helper( const fapi2::Target<T>& i_target, /// @tparam T, the target type of the MCA/MBA /// @param[in] i_target the target associated with this cal /// @param[in] i_rp one of the currently configured rank pairs -/// @param[in] i_cal_steps_enabled fapi2::buffer<uint16_t> representing the cal steps to enable +/// @param[in] i_cal_steps_enabled fapi2::buffer representing the cal steps to enable /// @param[in] i_abort_on_error CAL_ABORT_ON_ERROR override /// @return FAPI2_RC_SUCCESS iff setup was successful /// template< fapi2::TargetType T > fapi2::ReturnCode setup_and_execute_cal( const fapi2::Target<T>& i_target, const uint64_t i_rp, - const fapi2::buffer<uint16_t> i_cal_steps_enabled, + const fapi2::buffer<uint32_t>& i_cal_steps_enabled, const uint8_t i_abort_on_error); // TODO RTC:167929 Can ODT VPD processing be shared between RD and WR? |