summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-02-28 16:46:10 +1030
committerStewart Smith <stewart@linux.ibm.com>2018-06-18 22:13:43 -0500
commitb09e48ffcdbffca97f7f6ebc2135a9e82dc5d9e9 (patch)
tree9c6472d49d3d5cbc579479caf22120b386d85179 /include
parentc032c5991207bf143dec38d6d0527fb1a1944fac (diff)
downloadblackbird-skiboot-b09e48ffcdbffca97f7f6ebc2135a9e82dc5d9e9.tar.gz
blackbird-skiboot-b09e48ffcdbffca97f7f6ebc2135a9e82dc5d9e9.zip
astbmc: Enable mbox depending on scratch reg
P8 boxes can opt in for mbox pnor support if they set the scratch register bit to indicate it is supported. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ast.h b/include/ast.h
index 414ff6a3..2c1336b2 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -82,6 +82,7 @@ int ast_copy_from_ahb(void *dst, uint32_t reg, uint32_t len);
void ast_io_init(void);
bool ast_is_ahb_lpc_pnor(void);
bool ast_is_mbox_pnor(void);
+bool ast_scratch_reg_is_mbox(void);
/* UART configuration */
OpenPOWER on IntegriCloud