summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Artemiev <nartemiev@google.com>2023-05-09 11:00:17 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-09 02:34:59 +0000
commite0962ef1bb3b8f4ffb876a2ecd479b1276d92b56 (patch)
tree1b668e12b930c7bc079e75f19209089d1d24e7d2
parenta46e9d233b0d094256459f613101070f84133a6a (diff)
downloadchrome-ec-e0962ef1bb3b8f4ffb876a2ecd479b1276d92b56.tar.gz
docs: Remove deprecated flasrhom EC WP commands
Remove flasrhom EC commands because ectool should be used instead. BUG=b:280361439 TEST=N/A Change-Id: Ia8362ca325ed7164adbdbea39f1223b61da45c6e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4514139 Commit-Queue: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: Nikolai Artemiev <nartemiev@google.com>
-rw-r--r--docs/write_protection.md73
1 files changed, 0 insertions, 73 deletions
diff --git a/docs/write_protection.md b/docs/write_protection.md
index 0ce6253a04..20d7e146ab 100644
--- a/docs/write_protection.md
+++ b/docs/write_protection.md
@@ -188,79 +188,6 @@ If the `ro_at_boot` flag set, and the EC resets with the HW gpio disabled, the
EC will leave the flash unprotected (`ro_now` and `all_now` flags are not set)
but leave `ro_at_boot` flag set.
-### Changing Software Write Protection with flashrom
-
-#### View the current state of software write protection
-
-```bash
-(chroot) $ flashrom -p ec --wp-status
-```
-
-```
-WP: status: 0x00
-WP: status.srp0: 0
-WP: write protect is disabled.
-WP: write protect range: start=0x00000000, len=0x00000000
-```
-
-#### Enable software write protection
-
-This is immediate. The protection range indicates the RO region of the firmware.
-
-```bash
-(chroot) $ flashrom -p ec --wp-enable
-```
-
-```
-SUCCESS
-```
-
-```bash
-(chroot) $ flashrom -p ec --wp-status
-```
-
-```
-WP: status: 0x80
-WP: status.srp0: 1
-WP: write protect is enabled.
-WP: write protect range: start=0x00000000, len=0x0001f800
-```
-
-#### Disable software write protection
-
-Disable can only be done with hardware write protect disabled.
-
-```bash
-(chroot) $ flashrom -p ec --wp-disable
-```
-
-```
-FAILED: RO_AT_BOOT is not clear.
-FAILED
-```
-
-Reboot with [hardware write protection](#hw_wp) disabled. Note that protection
-is still enabled, but the protection range is zero.
-
-```bash
-(chroot) $ flashrom -p ec --wp-status
-```
-
-```
-WP: status: 0x80
-WP: status.srp0: 1
-WP: write protect is enabled.
-WP: write protect range: start=0x00000000, len=0x00000000
-```
-
-```bash
-(chroot) $ flashrom -p ec --wp-disable
-```
-
-```
-SUCCESS
-```
-
## system_is_locked()
The [`system_is_locked()`] function in the EC code returns false if the HW write