diff options
author | Brian Silver <bsilver@us.ibm.com> | 2016-06-30 14:19:50 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-07-13 14:23:20 -0400 |
commit | 55de7473be4c94d2c213ff69dd12d0a426477aff (patch) | |
tree | 0da6e3a16b8fd33464628d50b71db3e1adff6324 /src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C | |
parent | cf311d5d2bc2f360cbe8f963a59b998c35789ec8 (diff) | |
download | talos-hostboot-55de7473be4c94d2c213ff69dd12d0a426477aff.tar.gz talos-hostboot-55de7473be4c94d2c213ff69dd12d0a426477aff.zip |
Change procedures to support unpopulated MC
Change-Id: Iddd15d19fc1b55d3f42cba14d76459a3ce71a37e
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26498
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26501
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/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C | 9 |
1 files changed, 9 insertions, 0 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 57822a0ca..e3d47546c 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 @@ -34,6 +34,7 @@ #include <mss.H> #include <p9_mss_ddr_phy_reset.H> +#include <lib/utils/count_dimm.H> using fapi2::TARGET_TYPE_MCBIST; @@ -49,6 +50,14 @@ extern "C" { FAPI_INF("********* %s start *********", __func__); + // If there are no DIMM we don't need to bother. In fact, we can't as we didn't setup + // attributes for the PHY, etc. + if (mss::count_dimm(i_target) == 0) + { + FAPI_INF("... skipping ddr_phy_reset %s - no DIMM ...", mss::c_str(i_target)); + return fapi2::FAPI2_RC_SUCCESS; + } + // Initialize via scoms. Could be put in to p9_mss_scominit.C if that ever exists BRS. FAPI_TRY( mss::phy_scominit(i_target) ); |