lpc: Rename reset_lpc to lpc_reset
Change-Id: Iee234830b7ea93a7c51b45217d87162e14ef56ee
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/mboxd.c b/mboxd.c
index 541e117..634ae03 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -140,7 +140,7 @@
case SIGHUP:
/* Host didn't request reset -> Notify it */
reset_all_windows(context, SET_BMC_EVENT);
- rc = reset_lpc(context);
+ rc = lpc_reset(context);
if (rc < 0) {
MSG_ERR("WARNING: Failed to point the "
"LPC bus back to flash on "
@@ -178,7 +178,7 @@
/* Best to reset windows and the lpc mapping for safety */
/* Host didn't request reset -> Notify it */
reset_all_windows(context, SET_BMC_EVENT);
- rc = reset_lpc(context);
+ rc = lpc_reset(context);
/* Not much we can do if this fails */
if (rc < 0) {
MSG_ERR("WARNING: Failed to point the LPC bus back to flash\n"
@@ -384,7 +384,7 @@
#endif
/* Set the LPC bus mapping */
- rc = reset_lpc(context);
+ rc = lpc_reset(context);
if (rc) {
MSG_ERR("LPC configuration failed, RESET required: %d\n", rc);
}