aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-10-09 00:32:31 -0700
committerStewart Smith <stewart@linux.ibm.com>2018-10-31 16:49:21 +1100
commit8b8dbd4e3353db19a5b2500a5602cf01873daf6e (patch)
tree077ac71f481baf1b35d9cf11df4d46881a0f6e45 /platforms
parent67531d1deacc8a0cbf94580dd28a410be9106061 (diff)
downloadskiboot-8b8dbd4e3353db19a5b2500a5602cf01873daf6e.zip
skiboot-8b8dbd4e3353db19a5b2500a5602cf01873daf6e.tar.gz
skiboot-8b8dbd4e3353db19a5b2500a5602cf01873daf6e.tar.bz2
libflash: Add ipmi-hiomap
[ Upstream commit 35c955970af6c90429a558470c779d158ce54ea9 ] ipmi-hiomap implements the PNOR access control protocol formerly known as "the mbox protocol" but uses IPMI instead of the AST LPC mailbox as a transport. As there is no-longer any mailbox involved in this alternate implementation the old protocol name is quite misleading, and so it has been renamed to "the hiomap protoocol" (Host I/O Mapping protocol). The same commands and events are used though this client-side implementation assumes v2 of the protocol is supported by the BMC. The code is a heavily-reworked copy of the mbox-flash source and is introduced this way to allow for the mbox implementation's eventual removal. mbox-flash should in theory be renamed to mbox-hiomap for consistency, but as it is on life-support effective immediately we may as well just remove it entirely when the time is right. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> [stewart: prlog debug over prerror for mbox fallback, fix indent] Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/astbmc/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index 563d463..68ea5d0 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -477,4 +477,5 @@ const struct bmc_platform astbmc_ami = {
const struct bmc_platform astbmc_openbmc = {
.name = "OpenBMC",
.ipmi_oem_partial_add_esel = IPMI_CODE(0x3a, 0xf0),
+ .ipmi_oem_hiomap_cmd = IPMI_CODE(0x3a, 0x5a),
};