Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/58474
to look at the new patch set (#3).
Change subject: [RFC] writeprotect, cli_classic: create new writeprotect foundation ......................................................................
[RFC] writeprotect, cli_classic: create new writeprotect foundation
This is the first of a series of commits that adds working writeprotect support to flashrom. It deletes most writeprotect code previously extracted from the cros tree as not much of it can be adapted to the new implementation.
This commit also revises the writeprotect interface to reduce duplication and make writeprotect functionality easier to expose through libflashrom. Call sites in cli_classic have been updated.
The patch series initially adds support for a small set of chips as examples. These are: GD25LQ128, GD25Q32, GD25Q64, GD25Q256, MX25L2006E, and W25X40. Writeprotect commands have been tested with all chips.
BUG=b:195381327,b:153800563 TEST=flashrom --wp-{enable,disable,range,list,status} at end of patch series BRANCH=none
Change-Id: I67e9b31f86465e5a8f7d3def637198671ee818a8 Signed-off-by: Nikolai Artemiev nartemiev@google.com --- M cli_classic.c M flash.h M writeprotect.c M writeprotect.h 4 files changed, 80 insertions(+), 420 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/74/58474/3