gooftool: Add `--no_ectool` argument for `finalize` subcommand.
The argument is required by the `verify` step in finalize procedure
when the write protection is enabled. Therefore, we should also
have this argument for `finalize` subcommand.
BUG=b:113068962
TEST=manually test on DUT
Change-Id: Ib940a8d6f35e44f98b431165c29edfb6a2637dc3
Reviewed-on: https://chromium-review.googlesource.com/c/1278685
Reviewed-by: Marco Chen <marcochen@chromium.org>
Commit-Queue: Yong Hong <yhong@google.com>
Tested-by: Yong Hong <yhong@google.com>
(cherry picked from commit a59523f340001d85f8ded375e997a898d163cdb9)
Reviewed-on: https://chromium-review.googlesource.com/1393025
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Marco Chen <marcochen@chromium.org>
Reviewed-by: Cheng-Han Yang <chenghan@chromium.org>
diff --git a/py/gooftool/commands.py b/py/gooftool/commands.py
index ce2a32f..42d1f62 100755
--- a/py/gooftool/commands.py
+++ b/py/gooftool/commands.py
@@ -686,6 +686,7 @@
help='Do not enable firmware write protection.'),
CmdArg('--fast', action='store_true',
help='use non-secure but faster wipe method.'),
+ _no_ectool_cmd_arg,
_shopfloor_url_args_cmd_arg,
_hwdb_path_cmd_arg,
_hwid_status_list_cmd_arg,