summaryrefslogtreecommitdiffstats
path: root/src/import/chips
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2016-10-07 11:11:07 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-10 14:25:43 -0400
commit1e2fdb0958f724d14f846486e952bebddd9677a0 (patch)
tree7420b5ae384762f93bff8794d45ae704efd020ae /src/import/chips
parent710df1b6082674e7e2ad0ebde32395f08d0a5d16 (diff)
downloadtalos-hostboot-1e2fdb0958f724d14f846486e952bebddd9677a0.tar.gz
talos-hostboot-1e2fdb0958f724d14f846486e952bebddd9677a0.zip
Change phy_scominit to run from p9_mss_scominit step
Change-Id: I0b0f232022c0cc5164ccdb2a3f7ae929d9c91de2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30901 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30902 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C3
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C
index c24bef524..74c95e526 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C
@@ -64,9 +64,6 @@ extern "C"
return fapi2::FAPI2_RC_SUCCESS;
}
- // Initialize via scoms. Could be put in to p9_mss_scominit.C
- FAPI_TRY( mss::phy_scominit(i_target) );
-
FAPI_TRY(mss::change_force_mclk_low(i_target, mss::HIGH),
"force_mclk_low (set high) Failed rc = 0x%08X", uint64_t(fapi2::current_err) );
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C
index 92afe7c47..a3b1a4b84 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C
@@ -39,6 +39,7 @@
#include <p9_mcbist_scom.H>
#include <p9_ddrphy_scom.H>
#include <lib/utils/count_dimm.H>
+#include <lib/phy/ddr_phy.H>
using fapi2::TARGET_TYPE_MCA;
using fapi2::TARGET_TYPE_MCBIST;
@@ -100,6 +101,8 @@ fapi2::ReturnCode p9_mss_scominit( const fapi2::Target<TARGET_TYPE_MCBIST>& i_ta
goto fapi_try_exit;
}
+ // Initialize via scoms for non-static PHY items.
+ FAPI_TRY( mss::phy_scominit(i_target) );
fapi_try_exit:
FAPI_INF("End MSS SCOM init");
OpenPOWER on IntegriCloud