summaryrefslogtreecommitdiffstats
path: root/src/include/usr/sbe/sbe_update.H
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2018-06-14 09:26:30 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-06-28 22:47:58 -0400
commitef1e2276640040b2bbf187a1d85c8bd6929f4d56 (patch)
treea34b2c4d647e3f047a8fed78f30596b548edbcb2 /src/include/usr/sbe/sbe_update.H
parentcf258fcfb753bafcfac0659ded5f312c793d047d (diff)
downloadtalos-hostboot-ef1e2276640040b2bbf187a1d85c8bd6929f4d56.tar.gz
talos-hostboot-ef1e2276640040b2bbf187a1d85c8bd6929f4d56.zip
In non-MNFG, only match SBE keys for the sides that boot
FSP was not IPL'ing from SBE side 1 when production key is corrupt in SEEPROM of SBE side 0 (due to the key mismatch check). This change gets around that by only matching SBE keys for the sides that booted in non-MNFG case. Change-Id: I1dfcb5c7f7e281125fdbcfc8b8f3a84747c90f59 CQ:SW420430 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60571 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/sbe/sbe_update.H')
-rw-r--r--src/include/usr/sbe/sbe_update.H7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/usr/sbe/sbe_update.H b/src/include/usr/sbe/sbe_update.H
index 70ecf6f15..82b535ddc 100644
--- a/src/include/usr/sbe/sbe_update.H
+++ b/src/include/usr/sbe/sbe_update.H
@@ -317,10 +317,15 @@ namespace SBE
*
* @param[out] o_bootSide The Seeprom the SBE booted from
*
+ * @param[in] i_failoverToMaster If the SBE is not started for the supplied
+ * processor, use master processor instead.
+ * default is true
+ *
* @return errlHndl_t Error log handle on failure.
*/
errlHndl_t getSbeBootSeeprom(TARGETING::Target* i_target,
- sbeSeepromSide_t& o_bootSide);
+ sbeSeepromSide_t& o_bootSide,
+ bool i_failoverToMaster = true);
/**
* @brief Collects Version information from a specific SEEPROM using I2C
OpenPOWER on IntegriCloud