aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-05-15 17:50:39 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-10-24 19:02:59 +1100
commitfd4bbc869b02ea4f3dd08427d218717c0fd278d0 (patch)
treecb9ec11a7b2f0bb2885dc404cb887611aeb04dd2
parentfbe074c81fcfea8d5747dd42d3790f5b8348def3 (diff)
downloadskiboot-fd4bbc869b02ea4f3dd08427d218717c0fd278d0.zip
skiboot-fd4bbc869b02ea4f3dd08427d218717c0fd278d0.tar.gz
skiboot-fd4bbc869b02ea4f3dd08427d218717c0fd278d0.tar.bz2
AMI BMC: use 0x3a as OEM command
[ Upstream commit e9227752364564581d591d0ecb5b56e7e9bc4244 ] The 0x3a OEM command is for IBM commands, while 0x32 was for AMI ones. Sometime in the P8 timeframe, AMI BMCs were changed to listen for our commands on either 0x32 or 0x3a. Since 0x3a is the direction forward, we'll use that, as P9 machines with AMI BMCs probably also want these to work, and let's not bet that 0x32 will continue to be okay. Suggested-by: Joseph Reynolds <jrey@us.ibm.com> Suggested-by: Maury Zipse <zipse@us.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-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 eaebfde..470ab5d 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -423,7 +423,7 @@ void astbmc_early_init(void)
const struct bmc_platform astbmc_ami = {
.name = "AMI",
- .ipmi_oem_partial_add_esel = IPMI_CODE(0x32, 0xf0),
+ .ipmi_oem_partial_add_esel = IPMI_CODE(0x3a, 0xf0),
.ipmi_oem_pnor_access_status = IPMI_CODE(0x3a, 0x07),
};