diff options
author | Joel Stanley <joel@jms.id.au> | 2015-02-27 16:12:01 +1030 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-03-04 16:02:20 +0800 |
commit | a736f60aaed6bb33047646949df7ab08697a896c (patch) | |
tree | 8be60781340c7a0d64e4d7f91491f356325ff731 /include/ipmi.h | |
parent | 573d0a9af9e46afbefc34cf95510f3d91bc778f6 (diff) | |
download | skiboot-a736f60aaed6bb33047646949df7ab08697a896c.zip skiboot-a736f60aaed6bb33047646949df7ab08697a896c.tar.gz skiboot-a736f60aaed6bb33047646949df7ab08697a896c.tar.bz2 |
hw/ipmi: Set boot count sensor
The boot count sensor is a discrete sensor that is set once the system
is up and running.
On successful boot, the BMC expects the sensor to be set to 2.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/ipmi.h')
-rw-r--r-- | include/ipmi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ipmi.h b/include/ipmi.h index c078471..77e4b9a 100644 --- a/include/ipmi.h +++ b/include/ipmi.h @@ -253,4 +253,7 @@ void ipmi_wdt_final_reset(void); /* Discover id of settable ipmi sensors */ void ipmi_sensor_init(void); +/* Set the boot count once the OS is up and running */ +int ipmi_set_boot_count(void); + #endif |