aboutsummaryrefslogtreecommitdiff
path: root/platforms/astbmc/common.c
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2014-10-23 16:14:09 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-30 16:35:51 +1100
commitb2a374da98aa710b4c55556f9a9047d4d4a8665d (patch)
tree31055569f5e456f721f011d2646be7ee6b1e9f57 /platforms/astbmc/common.c
parentb118964db9acd6a36ae1ffe70c09715479a58095 (diff)
downloadskiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.zip
skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.tar.gz
skiboot-b2a374da98aa710b4c55556f9a9047d4d4a8665d.tar.bz2
ipmi: Add an opal interface to the ipmi stack
This patch adds two opal calls (opal_ipmi_send and opal_ipmi_recv) to allow an operating system to send and receive arbitrary ipmi messages to the BMC. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'platforms/astbmc/common.c')
-rw-r--r--platforms/astbmc/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index 17dd66f..69fa8af 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -51,6 +51,7 @@ void astbmc_init(void)
/* Register the BT interface with the IPMI layer */
bt_init();
ipmi_rtc_init();
+ ipmi_opal_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);
@@ -228,4 +229,3 @@ void astbmc_early_init(void)
/* Setup UART and use it as console with interrupts */
uart_init(true);
}
-