Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: gooftool

Issue 6778007: gooftool: always process EC before BIOS (workaround for buggy EC) (Closed) Base URL: ssh://gitrw.chromium.org:9222/factory_test_tools.git@master
Patch Set: improve wpfw command Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gft_wpfw.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gooftool
diff --git a/gooftool b/gooftool
index 32f9c943b92a79cf24cd4cfc2dc5b8fe216c757c..a76aace04d2259913706687d3f5807d898f96f31 100755
--- a/gooftool
+++ b/gooftool
@@ -312,7 +312,7 @@ def wpfw():
if g_options.debug_dryrun_wpfw:
ErrorMsg('wpfw is by-passed. This device CANNOT be qualified.')
return True
- if EnableWriteProtect('bios') and EnableWriteProtect('ec'):
+ if EnableWriteProtect('ec') and EnableWriteProtect('bios'):
return True
ErrorDie('wpfw: failed to enable firmware write protection.')
@@ -424,7 +424,7 @@ def ConsoleParser():
help='prepare for wiping factory tests and '
'transit to release mode in next reboot')
parser.add_option('--verify', action='store_true',
- help='runs: --verify_switch-wp, --verify_switch_dev, '
+ help='runs: --verify_switch_wp, --verify_switch_dev, '
'--verify_hwid, --verify_keys')
parser.add_option('--finalize', action='store_true',
help='runs: --verify, --wpfw, '
« no previous file with comments | « gft_wpfw.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698