aboutsummaryrefslogtreecommitdiff
path: root/platforms
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-10-31 16:49:21 +1100
commit5421d79dd212cced423d4dee85b01a118326ea14 (patch)
tree5d378fec1ed522e8eb1dc76c56c1b41a7d56878f /platforms
parentc7dd603a460c592b7c03913cfe48488627560d84 (diff)
downloadskiboot-5421d79dd212cced423d4dee85b01a118326ea14.zip
skiboot-5421d79dd212cced423d4dee85b01a118326ea14.tar.gz
skiboot-5421d79dd212cced423d4dee85b01a118326ea14.tar.bz2
ast-bmc: Rename LPC FW cycle helpers
[ Upstream commit 8972e44f97883e5aabf4b9c6737dcf3b22fd24b8 ] 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 'platforms')
-rw-r--r--platforms/astbmc/pnor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/astbmc/pnor.c b/platforms/astbmc/pnor.c
index e663055..55784ee 100644
--- a/platforms/astbmc/pnor.c
+++ b/platforms/astbmc/pnor.c
@@ -33,7 +33,7 @@ int pnor_init(void)
int rc;
bool do_mbox;
- do_mbox = ast_is_mbox_pnor();
+ do_mbox = ast_lpc_fw_is_mbox();
if (do_mbox) {
rc = mbox_flash_init(&bl);
} else {
@@ -43,7 +43,7 @@ int pnor_init(void)
* FW reads & writes).
*/
- if (ast_is_ahb_lpc_pnor())
+ if (ast_lpc_fw_is_flash())
rc = ast_sf_open(AST_SF_TYPE_PNOR, &pnor_ctrl);
else {
printf("PLAT: Memboot detected\n");