summaryrefslogtreecommitdiffstats
path: root/include/ipmi.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-08 15:25:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-08 16:51:27 +1100
commit5611389876a748e19b7593d4eb426ced7a6ed31f (patch)
tree53c6669911a5326db0616a7f31abf48184262e97 /include/ipmi.h
parent566150620014c5ee941dd84480fb8b6223abbb33 (diff)
downloadblackbird-skiboot-5611389876a748e19b7593d4eb426ced7a6ed31f.tar.gz
blackbird-skiboot-5611389876a748e19b7593d4eb426ced7a6ed31f.zip
Add BMC platform to enable correct OEM IPMI commands
An out of tree platform (p8dtu) uses a different IPMI OEM command for IPMI_PARTIAL_ADD_ESEL. This exposed some assumptions about the BMC implementation in our core code. Now, with platform.bmc, each platform can dictate (or detect) the BMC that is present. We allow it to be set at runtime rather than purely statically in struct platform as it's possible to have differing BMC implementations on the one machine (e.g. AMI BMC or OpenBMC). Acked-by: Jeremy Kerr <jk@ozlabs.org> [stewart@linux.vnet.ibm.com: remove enum, update (C) years] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/ipmi.h')
-rw-r--r--include/ipmi.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ipmi.h b/include/ipmi.h
index a6791e47..35dee90c 100644
--- a/include/ipmi.h
+++ b/include/ipmi.h
@@ -1,4 +1,4 @@
-/* Copyright 2013-2014 IBM Corp.
+/* Copyright 2013-2016 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -120,10 +120,6 @@
#define IPMI_GET_BT_CAPS IPMI_CODE(IPMI_NETFN_APP, 0x36)
#define IPMI_SET_SENSOR_READING IPMI_CODE(IPMI_NETFN_SE, 0x30)
-/* AMI OEM comamnds. AMI uses NETFN 0x3a and 0x32 */
-#define IPMI_PARTIAL_ADD_ESEL IPMI_CODE(0x32, 0xf0)
-#define IPMI_PNOR_ACCESS_STATUS IPMI_CODE(0x3a, 0x07)
-
/*
* IPMI response codes.
*/
OpenPOWER on IntegriCloud