flash: Rename copy_flash to flash_copy
Change-Id: If449889fca3370e25a65719d2f5c5ec90258d633
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/mboxd_windows.c b/mboxd_windows.c
index 200b205..ed87df1 100644
--- a/mboxd_windows.c
+++ b/mboxd_windows.c
@@ -191,7 +191,7 @@
MSG_ERR("Unable to allocate memory\n");
return -MBOX_R_SYSTEM_ERROR;
}
- rc = copy_flash(context, low_mem.flash_offset,
+ rc = flash_copy(context, low_mem.flash_offset,
low_mem.mem, low_mem.size);
if (rc < 0) {
goto out;
@@ -206,7 +206,7 @@
rc = -MBOX_R_SYSTEM_ERROR;
goto out;
}
- rc = copy_flash(context, high_mem.flash_offset,
+ rc = flash_copy(context, high_mem.flash_offset,
high_mem.mem, high_mem.size);
if (rc < 0) {
goto out;
@@ -619,7 +619,7 @@
}
/* Copy from flash into the window buffer */
- rc = copy_flash(context, offset, cur->mem, cur->size);
+ rc = flash_copy(context, offset, cur->mem, cur->size);
if (rc < 0) {
/* We don't know how much we've copied -> better reset window */
reset_window(context, cur);