writeprotect: delete unsupported chips from get_wp_for_flashchip()
Some chips had .wp fields in their flashchip entries, but did not have
corresponding support in writeprotect.c.
They were kept around when `commit 9d3980e71e8167a1f10d3e0424ed3`
deleted the .wp entries and replaced them with a lookup table in
get_wp_for_flashchip(), since it was difficult to determine what should
be done with them at the time.
It is now clear that they are fully unsupported and unused; attempting
to perform any wp operation on them will cause flashrom to immediately
fail and exit.
BUG=b:182223106
BRANCH=none
TEST=builds
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: Ife445c0f884807e125d0adaddf29e00f972307da
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3017169
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
1 file changed