summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-08-08 16:58:04 +0930
committerAndrew Jeffery <andrew@aj.id.au>2018-09-05 17:44:24 +0930
commit4f5d29cff0765367f83a8c63bc9980eec03d18ea (patch)
tree075987c09bdd82008de4d020607c012a8fa09bc1 /flash.h
parentf953f798e2bb5b559eebccf8728117860679af67 (diff)
downloadphosphor-mboxbridge-4f5d29cff0765367f83a8c63bc9980eec03d18ea.tar.gz
phosphor-mboxbridge-4f5d29cff0765367f83a8c63bc9980eec03d18ea.zip
flash: Rename erase_flash to flash_erase
Change-Id: I417319aadb2fdbfa2d688bb26b5515d2f9265994 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 7566d4b..bd16038 100644
--- a/flash.h
+++ b/flash.h
@@ -15,7 +15,7 @@ int64_t flash_copy(struct mbox_context *context, uint32_t offset, void *mem,
uint32_t size);
int flash_set_bytemap(struct mbox_context *context, uint32_t offset,
uint32_t count, uint8_t val);
-int erase_flash(struct mbox_context *context, uint32_t offset, uint32_t count);
+int flash_erase(struct mbox_context *context, uint32_t offset, uint32_t count);
int write_flash(struct mbox_context *context, uint32_t offset, void *buf,
uint32_t count);
OpenPOWER on IntegriCloud