summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-02-21 10:09:27 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-02-21 17:57:36 -0500
commit988d8d537152748d2e105ea323808a1ddb5674fc (patch)
tree3d0c1cd87c08a3075fa16d1cd8bc55d0d64f8008 /src/usr/sbe
parentbc4bd5e18cffeefe2db00f59098bb1dc6b1a0879 (diff)
downloadblackbird-hostboot-988d8d537152748d2e105ea323808a1ddb5674fc.tar.gz
blackbird-hostboot-988d8d537152748d2e105ea323808a1ddb5674fc.zip
Only update SBEs on chips connected to powerbus
- Fixes issue in istep 7 where HB was attempting to update the slave chip's SBE, as SBE update expects SBE PSU interface to be active Change-Id: Id90f1b0f23c668a153a7e2725e762c761ee3c490 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36792 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@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: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe')
-rw-r--r--src/usr/sbe/sbe_update.C18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C
index c73162479..0c97dd256 100644
--- a/src/usr/sbe/sbe_update.C
+++ b/src/usr/sbe/sbe_update.C
@@ -299,6 +299,24 @@ namespace SBE
}
}
+ //Can only update the SBE once the powerbus is up (secureboot)
+ //Use the scom switch Xscom capability flag as a proxy for
+ //powerbus access. If we can't access via powerbus, then skip
+ TARGETING::ScomSwitches scomSetting =
+ sbeState.target->getAttr<TARGETING::ATTR_SCOM_SWITCHES>();
+
+ if(!(scomSetting.useXscom))
+ {
+ //Xscom is not viable on this chip, thus powerbus isn't
+ //up to chip -- skip it
+ TRACFCOMP( g_trac_sbe,
+ INFO_MRK"updateProcessorSbeSeeproms(): "
+ "Power bus not established to chip 0x%X,"
+ " not performing update",
+ TARGETING::get_huid(sbeState.target));
+ continue;
+ }
+
err = getSbeInfoState(sbeState);
if (err)
OpenPOWER on IntegriCloud