diff options
author | Bill Hoffa <wghoffa@us.ibm.com> | 2015-06-01 12:50:52 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-08-18 13:06:39 -0500 |
commit | 9f01b555b7eeced597c0ff658ac3412d85991d10 (patch) | |
tree | d407a5cfa1877c130dac7c2dfde5fefed0aae3eb /src/usr/sbe/sbe_update.H | |
parent | 28e0a7e2733d28efa4f4d77be2350b6acaa448ad (diff) | |
download | talos-hostboot-9f01b555b7eeced597c0ff658ac3412d85991d10.tar.gz talos-hostboot-9f01b555b7eeced597c0ff658ac3412d85991d10.zip |
MFG Mode Flags to Enable Updating Both sides of SBE
Created new bit (UPDATE_BOTH_SIDES_OF_SBE) which
indicates to update both sides of the SBE image when
this flag is enabled
Change-Id: Ic922e7876d9e7a61dc9b7e6186390990728cbf96
RTC:123516
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18186
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com>
Reviewed-by: Elizabeth Liner <eliner@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/sbe/sbe_update.H')
-rw-r--r-- | src/usr/sbe/sbe_update.H | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/usr/sbe/sbe_update.H b/src/usr/sbe/sbe_update.H index e3f052fe9..1d4b2083e 100644 --- a/src/usr/sbe/sbe_update.H +++ b/src/usr/sbe/sbe_update.H @@ -409,6 +409,26 @@ namespace SBE errlHndl_t decisionTreeForUpdates(sbeTargetState_t& io_sbeState, uint8_t i_system_situation); + + + /** + * @brief Provides the decisionTreeForUpdates() functionality in the + * case that both sides of the SBE should be updated + * simultaneously. + * + * @param[io/out] io_actions SBE Update actions required for the target + * + * @param[io/out] io_sbeState Struct containing SBE State of the target + * and is updated based on the situation + * + * @param[in] i_system_situation SBE Situation of the target that requires + * analysis to determine Update Actions + * + */ + void decisionTreeForUpdatesSimultaneous(uint32_t& io_actions, + sbeTargetState_t& io_sbeState, + uint8_t& i_system_situation ); + /** * @brief Deconfigures any Targets whose version does not match the * Master Target's Version |