Attention is currently required from: Anastasia Klimchuk, Sergii Dmytruk.
Hello build bot (Jenkins), Edward O'Callaghan, Anastasia Klimchuk, Sergii Dmytruk,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/74930
to look at the new patch set (#4).
Change subject: flashrom: Use WP-based unlocking on opaque masters ......................................................................
flashrom: Use WP-based unlocking on opaque masters
Flashrom only tries to use WP-based unlocking if it detects that WP operations are supported. However WP support was detected in a way that ignored WP operations provided by opaque masters.
This stopped flashrom from automatically unlocking with some opaque masters, particularly linux_mtd.
This commit also deletes part of a test that required the chip unlock function to be called before read/write/erase operations because WP unlocking is now used instead of chip unlocking.
BUG=b:280111380 BRANCH=none TEST=Checked flashrom automatically unlocked flash on strongbad (MTD)
Change-Id: I1774ad64d82ae47cd085df6045e17e283855c01f Signed-off-by: Nikolai Artemiev nartemiev@google.com --- M flashrom.c M include/flash.h M spi25_statusreg.c M tests/chip.c 4 files changed, 28 insertions(+), 42 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/30/74930/4