diff options
author | Nikolai Artemiev <nartemiev@google.com> | 2021-10-21 01:50:15 +1100 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-03-01 04:29:42 +0000 |
commit | a548fe5a0341ec1318a0df911f90313d82e2a573 (patch) | |
tree | 05b428589f4fd186a268c6a1e680ff944c592059 /util/getrevision.sh | |
parent | 2c3a2d66a96b782f50dd886caea2a93dec69530e (diff) | |
download | flashrom-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/getrevision.sh')
0 files changed, 0 insertions, 0 deletions