aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2021-10-21 01:50:15 +1100
committerAnastasia Klimchuk <aklm@chromium.org>2022-03-01 04:29:42 +0000
commita548fe5a0341ec1318a0df911f90313d82e2a573 (patch)
tree05b428589f4fd186a268c6a1e680ff944c592059 /util
parent2c3a2d66a96b782f50dd886caea2a93dec69530e (diff)
downloadflashrom-a548fe5a0341ec1318a0df911f90313d82e2a573.tar.gz
flashrom-a548fe5a0341ec1318a0df911f90313d82e2a573.tar.bz2
flashrom-a548fe5a0341ec1318a0df911f90313d82e2a573.zip
libflashrom,writeprotect: add flashrom_wp_get_available_ranges()
Generate list of available ranges by enumerating all possible values that range bits (BPx, TB, ...) can take and using the chip's range decoding function to get the range that is selected by each one. BUG=b:195381327,b:153800563 BRANCH=none TEST=flashrom --wp-list Change-Id: Id51f038f03305c8536d80313e52f77d27835f34d Signed-off-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58481 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions