aboutsummaryrefslogtreecommitdiff
path: root/flash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-01 01:23:40 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-11-01 01:23:40 +0000
commit7dc772b828f8c61f1f2811a9a0ef1f081c6ca4ba (patch)
tree5f06658501523eb79e2e1ebfca7cd72debb5bb21 /flash
parentb87ca4e5a031d7ec29540b742bee5aa9aced2b25 (diff)
downloadlibrebootfr-7dc772b828f8c61f1f2811a9a0ef1f081c6ca4ba.tar.gz
librebootfr-7dc772b828f8c61f1f2811a9a0ef1f081c6ca4ba.zip
flash (flashrom script): remove boardmismatch=force
This was put there before for users upgrading from libreboot r5 to r6, but also allows the user to flash the wrong image. For example, the user could flash a T60 image on an X60, thus bricking the machine. It's almost certain that most people have upgraded by now, so remove this potentially dangerous option. If a user is upgrading from r5 to the latest version now, then they can simply use flashrom directly.
Diffstat (limited to 'flash')
-rwxr-xr-xflash2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash b/flash
index 8220d00f..ac9a29fd 100755
--- a/flash
+++ b/flash
@@ -36,5 +36,5 @@ fi
# and the old ones are "ThinkPad X60 / X60s" and flashrom complains otherwise
echo "MAKE SURE THAT YOU SEE 'VERIFIED' AT THE END (YOU WANT TO SEE THAT. MEANS IT WORKED)."
-./flashrom/flashrom -p internal:boardmismatch=force -w $1
+./flashrom/flashrom -p internal -w $1
echo "MAKE SURE THAT YOU SEE 'VERIFIED' WRITTEN ABOVE (YOU WANT TO SEE THAT. MEANS IT WORKED)."