summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/targetservicestart.C
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-02-22 18:46:08 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-03-13 17:29:31 -0400
commit46f410aa48c8ed062a7cb664ab84d65892c9902d (patch)
tree8c9c41c6dc650dcedbd23a3a158c79c985a10bb0 /src/usr/targeting/targetservicestart.C
parent7e727f1d5de744e838d63dd0c813e72529f10c97 (diff)
downloadtalos-hostboot-46f410aa48c8ed062a7cb664ab84d65892c9902d.tar.gz
talos-hostboot-46f410aa48c8ed062a7cb664ab84d65892c9902d.zip
Always set ISTEP_MODE based on scratch reg
- Currently ISTEP_MODE was only ever getting set, which would result in it being permanently stuck in istep mode after a successful boot. Change to clear/set based on scratch reg flag Change-Id: I0d6061502ee7454c7f3d2356b1f127bc810636be Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36891 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@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/usr/targeting/targetservicestart.C')
-rwxr-xr-xsrc/usr/targeting/targetservicestart.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/targeting/targetservicestart.C b/src/usr/targeting/targetservicestart.C
index c8300afd2..477e26ac0 100755
--- a/src/usr/targeting/targetservicestart.C
+++ b/src/usr/targeting/targetservicestart.C
@@ -313,6 +313,10 @@ static void initializeAttributes(TargetService& i_targetService,
{
l_pTopLevel->setAttr<ATTR_ISTEP_MODE>(1);
}
+ else
+ {
+ l_pTopLevel->setAttr<ATTR_ISTEP_MODE>(0);
+ }
//Set the RISK_LEVEL ATTR based off of master Scratch regs
INITSERVICE::SPLESS::MboxScratch5_t l_scratch5;
OpenPOWER on IntegriCloud