aboutsummaryrefslogtreecommitdiffstats
path: root/libflashrom.h
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2021-10-21 02:28:23 +1100
committerAnastasia Klimchuk <aklm@chromium.org>2022-03-01 04:32:43 +0000
commit4cb8464e902e14ccc910398fc55874627d88be9b (patch)
tree2c447936fb80588379e5e3a97bb0f742c4c62718 /libflashrom.h
parenta548fe5a0341ec1318a0df911f90313d82e2a573 (diff)
downloadflashrom-4cb8464e902e14ccc910398fc55874627d88be9b.tar.gz
flashrom-4cb8464e902e14ccc910398fc55874627d88be9b.tar.bz2
flashrom-4cb8464e902e14ccc910398fc55874627d88be9b.zip
writeprotect: add set_wp_range()
BUG=b:195381327,b:153800563 BRANCH=none TEST=flashrom --wp-{status,range} Change-Id: I7d26f43fb05c5828b9839bb57a28fa1088dcd9a0 Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58482 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'libflashrom.h')
-rw-r--r--libflashrom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libflashrom.h b/libflashrom.h
index c9138da2..83a62503 100644
--- a/libflashrom.h
+++ b/libflashrom.h
@@ -127,7 +127,8 @@ enum flashrom_wp_result {
FLASHROM_WP_ERR_OTHER = 2,
FLASHROM_WP_ERR_READ_FAILED = 3,
FLASHROM_WP_ERR_WRITE_FAILED = 4,
- FLASHROM_WP_ERR_VERIFY_FAILED = 5
+ FLASHROM_WP_ERR_VERIFY_FAILED = 5,
+ FLASHROM_WP_ERR_RANGE_UNSUPPORTED = 6
};
enum flashrom_wp_mode {