diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-12-18 10:52:45 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-01-18 16:36:54 +1100 |
commit | bd9839684d482417e8c60449592f4308e9a91dac (patch) | |
tree | a4835171335c323ff228b837079fa7e84f02d211 /include | |
parent | ec65b9ab4c4c3cea80849a071615dd9def629201 (diff) | |
download | blackbird-skiboot-bd9839684d482417e8c60449592f4308e9a91dac.tar.gz blackbird-skiboot-bd9839684d482417e8c60449592f4308e9a91dac.zip |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ast.h b/include/ast.h index c6684fc8..5c46cf26 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 */ |