summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-02-21 15:20:23 +1030
committerStewart Smith <stewart@linux.ibm.com>2019-02-25 21:59:03 -0600
commitc826e1ca9e5b8a21989325536f2f9eb5f2c87607 (patch)
tree9034b8bfd30b25d666d002174ba32f46c0b446db /include
parent6a4db4c249a14b11e237e5824fcb434309aff138 (diff)
downloadtalos-skiboot-c826e1ca9e5b8a21989325536f2f9eb5f2c87607.tar.gz
talos-skiboot-c826e1ca9e5b8a21989325536f2f9eb5f2c87607.zip
astbmc: Try IPMI HIOMAP for P8 (again)
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. Tested on Garrison, Palmetto without HIOMAP, Palmetto with HIOMAP, and Witherspoon. 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 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 */
OpenPOWER on IntegriCloud