aboutsummaryrefslogtreecommitdiff
path: root/hw/ast-bmc
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-07-17 11:32:52 +0930
committerStewart Smith <stewart@linux.ibm.com>2018-07-17 01:13:16 -0500
commit8972e44f97883e5aabf4b9c6737dcf3b22fd24b8 (patch)
tree0c6132a4cd053b7fa309b5e61940896ef096a181 /hw/ast-bmc
parent7a5af6da49b9da76c90cc76f020175dbf6fcfe6e (diff)
downloadskiboot-8972e44f97883e5aabf4b9c6737dcf3b22fd24b8.zip
skiboot-8972e44f97883e5aabf4b9c6737dcf3b22fd24b8.tar.gz
skiboot-8972e44f97883e5aabf4b9c6737dcf3b22fd24b8.tar.bz2
ast-bmc: Rename LPC FW cycle helpers
Introduce some consistency for readability and make the names better reflect the nature of the tests. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/ast-bmc')
-rw-r--r--hw/ast-bmc/ast-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ast-bmc/ast-io.c b/hw/ast-bmc/ast-io.c
index 661cf40..a552871 100644
--- a/hw/ast-bmc/ast-io.c
+++ b/hw/ast-bmc/ast-io.c
@@ -316,12 +316,12 @@ void ast_io_init(void)
ast_setup_sio_irq_polarity();
}
-bool ast_is_mbox_pnor(void)
+bool ast_lpc_fw_is_mbox(void)
{
return dt_find_compatible_node(dt_root, NULL, "mbox");
}
-bool ast_is_ahb_lpc_pnor(void)
+bool ast_lpc_fw_is_flash(void)
{
uint8_t boot_version;
uint8_t boot_flags;