diff options
author | Joel Stanley <joel@jms.id.au> | 2014-11-04 00:02:02 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-03-04 16:02:20 +0800 |
commit | 573d0a9af9e46afbefc34cf95510f3d91bc778f6 (patch) | |
tree | 37623706790cdc6c3d2ea0406fdc3e488c42ac69 /platforms | |
parent | 81791e5da50b9804a19f2bfbc25916791b28d499 (diff) | |
download | skiboot-573d0a9af9e46afbefc34cf95510f3d91bc778f6.zip skiboot-573d0a9af9e46afbefc34cf95510f3d91bc778f6.tar.gz skiboot-573d0a9af9e46afbefc34cf95510f3d91bc778f6.tar.bz2 |
hw/ipmi: Set firmware progress sensor
We set the IPMI firmware progress sensor to indicate the boot progress
of the system. The x86-centric IPMI names don't fit perfectly into what
skiboot does, but they do give some indication of the system state.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index a9878bf..93090b2 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -101,6 +101,7 @@ void astbmc_init(void) ipmi_opal_init(); ipmi_fru_init(0x01); elog_init(); + ipmi_sensor_init(); /* As soon as IPMI is up, inform BMC we are in "S0" */ ipmi_set_power_state(IPMI_PWR_SYS_S0_WORKING, IPMI_PWR_NOCHANGE); @@ -108,6 +109,8 @@ void astbmc_init(void) /* Enable IPMI OEM message interrupts */ astbmc_ipmi_setenables(); + ipmi_set_fw_progress_sensor(IPMI_FW_MOTHERBOARD_INIT); + /* Setup UART console for use by Linux via OPAL API */ if (!dummy_console_enabled()) uart_setup_opal_console(); |