summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C b/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
index 2af5b7a15..8994a75d0 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/phy/mss_lrdimm_training.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2018 */
+/* Contributors Listed Below - COPYRIGHT 2018,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -654,6 +654,12 @@ fapi2::ReturnCode mrep::run( const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_targ
"Failed get_ranks_in_pair in mrep::run %s",
mss::c_str(i_target) );
+ // Disable all rank of 2 dimm's before training
+ for (const auto& l_dimm : l_dimms)
+ {
+ FAPI_TRY(set_rank_presence(l_dimm, RANK_PRESENCE_MASK));
+ }
+
// Loops over all ranks within this rank pair
// MREP is a buffer to DRAM calibration step, so we need to calibrate all ranks seperately
for (const auto& l_rank : l_ranks)
OpenPOWER on IntegriCloud