summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2017-04-07 14:09:57 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-04-07 23:40:29 -0400
commitb4b8cb9317d3a1fff3f1e3938fdab74676f878c9 (patch)
tree20adeca4d8f95892d7a3b6194b6369bac95c56c6 /src/usr/targeting
parent99d2594a86ddc328816ffd189a72f948b99d6bb7 (diff)
downloadtalos-hostboot-b4b8cb9317d3a1fff3f1e3938fdab74676f878c9.tar.gz
talos-hostboot-b4b8cb9317d3a1fff3f1e3938fdab74676f878c9.zip
Set PROC_SBE_IS_MASTER on master proc when we read mbox regs
When initializing the targeting service we set up some attributes. One attribute that we are not setting that would be useful later is this PROC_SBE_IS_MASTER attribute. We know at this time which proc is master so we will set the attribute on the master proc Change-Id: Ib927a0b7dc2e6ef10d82ca699323e07516750ee9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39003 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-xsrc/usr/targeting/targetservicestart.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/targeting/targetservicestart.C b/src/usr/targeting/targetservicestart.C
index 477e26ac0..ad9b2e07b 100755
--- a/src/usr/targeting/targetservicestart.C
+++ b/src/usr/targeting/targetservicestart.C
@@ -300,6 +300,7 @@ static void initializeAttributes(TargetService& i_targetService,
l_i2c_switches.useFsiI2C = 0;
l_pMasterProcChip->setAttr<ATTR_I2C_SWITCHES>(l_i2c_switches);
+ l_pMasterProcChip->setAttr<ATTR_PROC_SBE_MASTER_CHIP>(1);
// Master has SBE started
l_pMasterProcChip->setAttr<ATTR_SBE_IS_STARTED>(1);
OpenPOWER on IntegriCloud