summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep13
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-05-27 13:14:35 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-09 15:27:13 -0400
commiteb94922ec70b66d3ee721988507fa31e6f5ee628 (patch)
tree964fb2954c5c1b753306fc746af63b441fe10c63 /src/usr/isteps/istep13
parent9ed860024812827989a8313b3c811fba453b4aae (diff)
downloadtalos-hostboot-eb94922ec70b66d3ee721988507fa31e6f5ee628.tar.gz
talos-hostboot-eb94922ec70b66d3ee721988507fa31e6f5ee628.zip
Add attribute to correct targets and set IS_SIMULATION to 1 for p9n sys
RTC: 155373 Change-Id: Iaa612b472ff49499af9ab5332b8b1ffccd4f2300 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25130 Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep13')
-rw-r--r--src/usr/isteps/istep13/call_mss_ddr_phy_reset.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/isteps/istep13/call_mss_ddr_phy_reset.C b/src/usr/isteps/istep13/call_mss_ddr_phy_reset.C
index dc4f2c93e..63eb8c34a 100644
--- a/src/usr/isteps/istep13/call_mss_ddr_phy_reset.C
+++ b/src/usr/isteps/istep13/call_mss_ddr_phy_reset.C
@@ -53,6 +53,12 @@ void* call_mss_ddr_phy_reset (void *io_pArgs)
IStepError l_stepError;
+ TARGETING::Target * sys = NULL;
+ TARGETING::targetService().getTopLevelTarget( sys );
+
+// TODO: RTC 155373 Need to remove hack that is setting IS_SIMULATION to 1 for this substep
+ sys->setAttr<TARGETING::ATTR_IS_SIMULATION>(1);
+
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"call_mss_ddr_phy_reset entry" );
@@ -94,6 +100,9 @@ void* call_mss_ddr_phy_reset (void *io_pArgs)
}
} // end l_mcbistNum loop
+// TODO: RTC 155373 Need to remove hack that is setting IS_SIMULATION to 1 for this substep
+ sys->setAttr<TARGETING::ATTR_IS_SIMULATION>(0);
+
TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"call_mss_ddr_phy_reset exit" );
OpenPOWER on IntegriCloud