aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-02-22 20:31:00 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-23 16:04:27 +1100
commitc78cd1b4d6c14d17ec202f503b4182b6fd96afbd (patch)
tree26aaebc654254dab7a106489da3ecfb71be5ac22 /include
parent25ab8e2ee55136cfd9f864f65686e312fd38b667 (diff)
downloadskiboot-c78cd1b4d6c14d17ec202f503b4182b6fd96afbd.zip
skiboot-c78cd1b4d6c14d17ec202f503b4182b6fd96afbd.tar.gz
skiboot-c78cd1b4d6c14d17ec202f503b4182b6fd96afbd.tar.bz2
ast-bmc: Use the mbox driver
The mbox registers are accessed via superIO, these need to be initialised. The mbox device node won't be present in the device tree hostboot passes us, so fixup the device tree. Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ast.h b/include/ast.h
index c7bf0cb..43c5989 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -85,6 +85,9 @@ void ast_disable_sio_uart1(void);
/* BT configuration */
void ast_setup_ibt(uint16_t io_base, uint8_t irq);
+/* MBOX configuration */
+void ast_setup_sio_mbox(uint16_t io_base, uint8_t irq);
+
#endif /* __SKIBOOT__ */
/*