aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2015-07-10 11:16:49 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-10 15:54:42 +1000
commita561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6 (patch)
tree638024c81c5e3fd450859245ae3f5a500358fa81 /platforms
parentc2c566a8390ea8154bfba68624dd1afa5a8079db (diff)
downloadskiboot-a561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6.zip
skiboot-a561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6.tar.gz
skiboot-a561cf7b9c93de3a710a26ad4bfe3e026d6ab8c6.tar.bz2
fsp/ipmi: Add the in-band IPMI support for FSP systems
FSP implements the IPMI commands support that can be accessed over the mailbox interface from the host. The host needs to provide and receive the message/data bytes of the IPMI command in the TCE space in the KCS (Keyboard Controller Style) format. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Acked-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/ibm-fsp/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/ibm-fsp/common.c b/platforms/ibm-fsp/common.c
index 12536bd..59a890b 100644
--- a/platforms/ibm-fsp/common.c
+++ b/platforms/ibm-fsp/common.c
@@ -21,6 +21,7 @@
#include <opal.h>
#include <console.h>
#include <hostservices.h>
+#include <ipmi.h>
#include "ibm-fsp.h"
@@ -125,6 +126,10 @@ void ibm_fsp_init(void)
op_display(OP_LOG, OP_MOD_INIT, 0x0002);
fsp_init_surveillance();
+ /* IPMI */
+ fsp_ipmi_init();
+ ipmi_opal_init();
+
/* Initialize sensor access */
op_display(OP_LOG, OP_MOD_INIT, 0x0003);
fsp_init_sensor();