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
tree: ced1588da48ae5228c777553d9ab7c9675190852
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. raspberrypi/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-graphics/
  11. recipes-phosphor/
  12. recipes-protocols/
  13. recipes-support/
  14. recipes-textproc/
  15. recipes-x86/
  16. COPYING.apache-2.0
  17. COPYING.MIT
  18. LICENSE
  19. MAINTAINERS
  20. README.md
  21. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.