diff options
author | Alistair Popple <alistair@popple.id.au> | 2014-11-13 17:16:05 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-12-02 18:43:26 +1100 |
commit | dd173e4beaf1da11db3bcfb2ccdfe8a623f26e53 (patch) | |
tree | f9524e195ecb3ee70032a204089260bc61706588 /platforms/astbmc/common.c | |
parent | f8a0bb99bb6879124f153a161339bbfdef2049bf (diff) | |
download | blackbird-skiboot-dd173e4beaf1da11db3bcfb2ccdfe8a623f26e53.tar.gz blackbird-skiboot-dd173e4beaf1da11db3bcfb2ccdfe8a623f26e53.zip |
esel: Add a logging backend for bmc based machines
This patch adds a backend for bmc based machines running AMI firmware
supporting the OEM extended sel commands. Errors are logged in pel
format to the bmc.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/astbmc/common.c')
-rw-r--r-- | platforms/astbmc/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index d6b5b07f..26f90f50 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -24,6 +24,7 @@ #include <ast.h> #include <ipmi.h> #include <bt.h> +#include <errorlog.h> #include "astbmc.h" @@ -53,6 +54,7 @@ void astbmc_init(void) ipmi_rtc_init(); ipmi_opal_init(); ipmi_fru_init(0x01); + elog_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); |