Curently sbe_get_state api returns SBE_STATE_NOT_USABLE
incase SBE booted bit is not set. This api should return
the current value of SBE status register to align the BMC
sbe state management design direction. Like BMC sets SBE
state to SBE_STATE_CHECK_CFAM when chassis power is on and
based on the sbe message register status this get updated.
Here it is forcing to unusable state and it is causing
issue in SBE state management.
Tested: Successfully verified in BMC Driver verification test
Curently sbe_get_state api returns SBE_STATE_NOT_USABLE incase SBE booted bit is not set. This api should return the current value of SBE status register to align the BMC sbe state management design direction. Like BMC sets SBE state to SBE_STATE_CHECK_CFAM when chassis power is on and based on the sbe message register status this get updated. Here it is forcing to unusable state and it is causing issue in SBE state management.
Tested: Successfully verified in BMC Driver verification test