phosphor: ensure host state sensors cleared on host stop
With some of the new targets like obmc-host-diagnostic-mode, the BMC can
be a while in these targets before other ones are started which start
initializing these sensors again. Need to be sure to reset them to
defaults once the host is stopped for any reason. This ensures that
other BMC software which is looking at these to know host boot state
have the correct information.
Tested:
- Verified sensors were reset when starting obmc-host-diagnostic-mode
target
Change-Id: Ida66143b562a9b067e619d34cef6dded6c364abc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed