diff options
author | Josh Rispoli <jprispol@us.ibm.com> | 2015-01-22 15:23:56 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-09 16:23:20 -0600 |
commit | 806036d507c384ce3daa75b668f6af99d9a78378 (patch) | |
tree | 45ca179c9880ee349adf8a53a7f5406f3bfd0af4 /src/include/usr/ipmi | |
parent | 304f060b9f4c877156c299d60647084604d901e5 (diff) | |
download | talos-hostboot-806036d507c384ce3daa75b668f6af99d9a78378.tar.gz talos-hostboot-806036d507c384ce3daa75b668f6af99d9a78378.zip |
System FW Progress sensor now updates with appropriate mappings
Change-Id: I46b5c54fa315192a505c297030d1de2845487e0c
RTC:119124
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15345
Tested-by: Jenkins Server
Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/ipmi')
-rw-r--r-- | src/include/usr/ipmi/ipmisensor.H | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/include/usr/ipmi/ipmisensor.H b/src/include/usr/ipmi/ipmisensor.H index 4b266e1b5..7575024a9 100644 --- a/src/include/usr/ipmi/ipmisensor.H +++ b/src/include/usr/ipmi/ipmisensor.H @@ -31,6 +31,7 @@ * is used to handle setting the virtual sensors maintained by the BMC. */ +#include <initservice/initsvcstructs.H> #include <attributeenums.H> #include <targeting/common/target.H> #include <errl/errlentry.H> @@ -323,22 +324,6 @@ namespace SENSOR public: /** - * @enum firmwareProgressPhase - * - * Current firmware progress phase - * - */ - enum firmwareProgressPhase - { - MEMORY_INIT = 0x01, //< isteps 10->14 - SEC_PROCESSOR_INIT = 0x03, //< isteps 15->16 - STARTING_OS = 0x13, //< isteps 17->21 - BASE_INITIALIZATION = 0x14, //< isteps 6-> 9 - PHASE_NA = 0xFF, // Not applicable - - }; - - /** * @brief Constructor for the FirmwareProgressSensor * * The firmware progress sensor is used to update the BMC @@ -368,7 +353,8 @@ namespace SENSOR * @return Errorlog handle * */ - errlHndl_t setBootProgressPhase(firmwareProgressPhase i_phase); + errlHndl_t setBootProgressPhase( + INITSERVICE::firmwareProgressPhase i_phase); private: // @enum firmwareProgressOfsets |