diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2017-07-26 11:27:45 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-09 13:34:40 -0400 |
commit | 7c53973849de64198de72fcdd680e1424832a4e0 (patch) | |
tree | 4a4b8daa6f29cc1fc75025b24b4e2010756b0600 /src/include/usr/ipmi | |
parent | e276a9bbce83803dca7fb399c5b69a174b4ade4b (diff) | |
download | talos-hostboot-7c53973849de64198de72fcdd680e1424832a4e0.tar.gz talos-hostboot-7c53973849de64198de72fcdd680e1424832a4e0.zip |
SBE update plan for OpenPOWER
We need to have a new way to handle the SBE update flow for OpenPOWER.
Update the SBE code one side at a time to avoid a scenario where a bad
code load bricks the system. Start by loading side 0 (primary), then
re-IPL, and finally load side 1 (backup). A new config flag is used,
SBE_UPDATE_CONSECUTIVE.
Change-Id: Icf18ebec173c2f42fe200fb9cd547b9ebc580acc
RTC: 176755
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43893
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: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi')
-rw-r--r-- | src/include/usr/ipmi/ipmisensor.H | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/usr/ipmi/ipmisensor.H b/src/include/usr/ipmi/ipmisensor.H index c57a35076..69d9e2361 100644 --- a/src/include/usr/ipmi/ipmisensor.H +++ b/src/include/usr/ipmi/ipmisensor.H @@ -49,6 +49,11 @@ namespace SENSOR const uint8_t INVALID_TYPE = 0xFF; /** + * @brief Default reboot count value. + */ + static const uint16_t DEFAULT_REBOOT_COUNT = 0x0002; + + /** * @enum sensorReadingTypes * Sensor specific completion codes, defined in IPMI Spec. * @@ -627,7 +632,6 @@ namespace SENSOR */ errlHndl_t getRebootCount( uint16_t& o_rebootCount ); - }; /** |