gooftool, tools: Add '-p host' to flashrom commands.
flashrom may stop supporting invocation without '-p PROGRAMMER' in the
future so we should add right '-p' to all flashrom calls.
BUG=chrome-os-partner:60894
TEST=make test
Change-Id: I75397a2997073e90042b26aa3e7de7a9dedfbf19
Reviewed-on: https://chromium-review.googlesource.com/423450
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
diff --git a/py/gooftool/commands.py b/py/gooftool/commands.py
index 9fcb463..1a77672 100755
--- a/py/gooftool/commands.py
+++ b/py/gooftool/commands.py
@@ -389,7 +389,7 @@
# "RO_AT_BOOT" when you request to enable RO (These platforms consider
# --wp-range with right range identical to --wp-enable), and requires a
# 'ectool reboot_ec RO at-shutdown; reboot' to let the RO take effect.
- # After reboot, "flashrom --wp-status" will return right protected range.
+ # After reboot, "flashrom -p host --wp-status" will return protected range.
# If you don't reboot, returned range will be (0, 0), and running command
# "ectool flashprotect" will not have RO_NOW.