From e3f7d637814b291cf2f95297ba18f947b45f6dc9 Mon Sep 17 00:00:00 2001 From: Brian Silver Date: Fri, 20 Jan 2017 09:53:24 -0600 Subject: Map from Centaur canonical rank numbering to Nimbus Reassigned rank pairs to be DIMM0 ranks first ZCAL config ODT values from VPD Change-Id: If24e74e9e878c24125540e324cad40a7218c59ff Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35162 Dev-Ready: Louis Stermole Reviewed-by: Brian R. Silver Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: STEPHEN GLANCY Reviewed-by: JACOB L. HARVEY Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35164 Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: Christian R. Geddes --- .../chips/p9/procedures/hwp/memory/lib/mc/port.C | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C index 942e2c8a5..979ca5eb8 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/port.C @@ -35,7 +35,6 @@ #include #include -#include #include #include @@ -80,14 +79,13 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target l_per_zqcal_mode_options = 0; fapi2::buffer l_periodic_cal_config; - fapi2::buffer l_phy_zqcal_config; std::vector l_pairs; FAPI_INF("Enable periodic cal"); uint8_t is_sim = 0; - FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, fapi2::Target(), is_sim) ); + FAPI_TRY( mss::is_simulation(is_sim) ); // Even if we're in sim, do these so that we do the attribute work (even though the values aren't used.) FAPI_TRY( mss::eff_memcal_interval(i_target, l_memcal_interval) ); @@ -128,8 +126,6 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target l_ranks; - // // Configure the controller // @@ -162,20 +158,11 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target(is_sim ? 0 : 1); - // Write the ZQCAL periodic config - FAPI_INF("zcal periodic config: 0x%016lx", l_phy_zqcal_config); - FAPI_TRY( mss::putScom(i_target, TT::PHY_ZQCAL_REG, l_phy_zqcal_config) ); - // Write the ZQCAL timer reload register // # DPHY01_DDRPHY_PC_ZCAL_TIMER_RELOAD_VALUE_P0 0x00A 0x8000c0090301143f // # PHYW.PHYX.SYNTHX.D3SIDEA.PCX.REG09_L2 @@ -210,7 +197,7 @@ fapi2::ReturnCode enable_periodic_cal( const fapi2::Target