diff options
author | Sergii Dmytruk <sergii.dmytruk@3mdeb.com> | 2021-12-19 18:45:16 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-04-29 00:54:42 +0000 |
commit | bfbec45de0963b76081f5ff95681ce887ba1ef90 (patch) | |
tree | f1cd56b2c6e4f42837071338218f7fd6c67a2825 /include/platform.h | |
parent | dbbe1588b208204e19acebfb8b579bbdbe2e145e (diff) | |
download | flashrom-bfbec45de0963b76081f5ff95681ce887ba1ef90.tar.gz flashrom-bfbec45de0963b76081f5ff95681ce887ba1ef90.tar.bz2 flashrom-bfbec45de0963b76081f5ff95681ce887ba1ef90.zip |
writeprotect: add WPS bit and always set it to zero
WPS bit controls use of individual block protection which is mutually
exclusive with protection based on ranges. Proper support requires
extension of the API as well as implementation, so here we're just
making sure that range-based protection is enabled and our WP
configuration is not ignored by the chip.
Change-Id: I2c26ec65d64a3b6fb1f1a73690bc771415db2744
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60231
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'include/platform.h')
0 files changed, 0 insertions, 0 deletions