aboutsummaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/flashrom.c b/flashrom.c
index 325a0c16..503a1990 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -2168,9 +2168,9 @@ int chip_safety_check(const struct flashctx *flash, int force, int read_it, int
return 0;
}
-static int prepare_flash_access(struct flashctx *const flash,
- const bool read_it, const bool write_it,
- const bool erase_it, const bool verify_it)
+int prepare_flash_access(struct flashctx *const flash,
+ const bool read_it, const bool write_it,
+ const bool erase_it, const bool verify_it)
{
if (chip_safety_check(flash, flash->flags.force, read_it, write_it, erase_it, verify_it)) {
msg_cerr("Aborting.\n");
@@ -2193,7 +2193,7 @@ static int prepare_flash_access(struct flashctx *const flash,
return 0;
}
-static void finalize_flash_access(struct flashctx *const flash)
+void finalize_flash_access(struct flashctx *const flash)
{
unmap_flash(flash);
}