summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moy <pmoy@chromium.org>2022-03-30 14:27:24 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-04 17:52:46 +0000
commitcd1692f92cd05a656d8f84f609afa2168b55a7dd (patch)
tree0cd7db80b9f0b01c7a107d9db67bd550c6b4ea6f
parent7e3c1b6d4024d758fd49c6e134b2d73ec64e72a7 (diff)
downloadchrome-ec-cd1692f92cd05a656d8f84f609afa2168b55a7dd.tar.gz
cr50: fix wp atboot documentation
The command to change the `atboot` wp setting should have `atboot` as the last argument, not the second. BUG=none TEST=none Change-Id: I0fff0d7dc206068d1f51bb8e890f2ccaaafb18c8 Signed-off-by: pmoy@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3561026 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Mary Ruthven <mruthven@chromium.org> Commit-Queue: Mary Ruthven <mruthven@chromium.org> Tested-by: Mary Ruthven <mruthven@chromium.org>
-rw-r--r--docs/case_closed_debugging_cr50.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/case_closed_debugging_cr50.md b/docs/case_closed_debugging_cr50.md
index b57e99d541..bd35ebc6cd 100644
--- a/docs/case_closed_debugging_cr50.md
+++ b/docs/case_closed_debugging_cr50.md
@@ -429,10 +429,11 @@ power is otherwise lost.
The `atboot` setting is the state of the write protect when Cr50 boots; it
defaults to `follow_batt_pres`.
-To change the `atboot` setting, add the `atboot` arg to the `wp` command:
+To change the `atboot` setting, add the `atboot` arg to the end of the `wp`
+command:
```
-cr50 > wp atboot [enable|disable|follow_batt_pres]
+cr50 > wp [enable|disable|follow_batt_pres] atboot
```
You can query the write protect state with `gsctool`: