Nikolai Artemiev has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/82175?usp=email )
Change subject: flashrom: Change chip unlock error to warning ......................................................................
flashrom: Change chip unlock error to warning
Failing to disable WP before write/erase doesn't necessarily indicate an error and flashrom doesn't treat it as such. Print a warning instead on an error.
BUG=b:336220545 BRANCH=none TEST=build
Change-Id: I14c3b55e387443909ca1efab2fc1901f87dd66d6 Signed-off-by: Nikolai Artemiev nartemiev@google.com --- M flashrom.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/75/82175/1
diff --git a/flashrom.c b/flashrom.c index 630c69d..39c3612 100644 --- a/flashrom.c +++ b/flashrom.c @@ -2092,7 +2092,7 @@
warn_out: if (ret) - msg_cerr("Failed to unlock flash status reg with wp support.\n"); + msg_cwarn("Failed to unlock flash status reg with wp support.\n");
return ret; }