summaryrefslogtreecommitdiff
path: root/src/flash/nor/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/core.h')
-rw-r--r--src/flash/nor/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h
index 797cf686..b1526774 100644
--- a/src/flash/nor/core.h
+++ b/src/flash/nor/core.h
@@ -108,6 +108,9 @@ int flash_register_commands(struct command_context *cmd_ctx);
int flash_erase_address_range(struct target *target,
bool pad, uint32_t addr, uint32_t length);
+int flash_unlock_address_range(struct target *target, uint32_t addr,
+ uint32_t length);
+
/**
* Writes @a image into the @a target flash. The @a written parameter
* will contain the