aboutsummaryrefslogtreecommitdiff
path: root/include/ipmi.h
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-02-27 16:12:01 +1030
committerJeremy Kerr <jk@ozlabs.org>2015-03-04 16:02:20 +0800
commita736f60aaed6bb33047646949df7ab08697a896c (patch)
tree8be60781340c7a0d64e4d7f91491f356325ff731 /include/ipmi.h
parent573d0a9af9e46afbefc34cf95510f3d91bc778f6 (diff)
downloadskiboot-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.h3
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