aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-12-18 10:52:45 +1030
committerStewart Smith <stewart@linux.ibm.com>2019-01-18 16:36:54 +1100
commitbd9839684d482417e8c60449592f4308e9a91dac (patch)
treea4835171335c323ff228b837079fa7e84f02d211 /include
parentec65b9ab4c4c3cea80849a071615dd9def629201 (diff)
downloadskiboot-bd9839684d482417e8c60449592f4308e9a91dac.zip
skiboot-bd9839684d482417e8c60449592f4308e9a91dac.tar.gz
skiboot-bd9839684d482417e8c60449592f4308e9a91dac.tar.bz2
astbmc: Try IPMI HIOMAP for P8
The HIOMAP protocol was developed after the release of P8 in preparation for P9. As a consequence P9 always uses it, but it has rarely been enabled for P8. P8DTU has recently added IPMI HIOMAP support to its BMC firmware, so enable its use in skiboot with P8 machines. Doing so requires some rework to ensure fallback works correctly as in the past the fallback was to mbox, which will only work for P9. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ast.h b/include/ast.h
index c6684fc..5c46cf2 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -86,7 +86,8 @@ bool ast_sio_init(void);
bool ast_io_init(void);
bool ast_io_is_rw(void);
bool ast_lpc_fw_maps_flash(void);
-bool ast_lpc_fw_needs_hiomap(void);
+bool ast_lpc_fw_ipmi_hiomap(void);
+bool ast_lpc_fw_mbox_hiomap(void);
bool ast_scratch_reg_is_mbox(void);
/* UART configuration */