aboutsummaryrefslogtreecommitdiffstats
path: root/programmer.c
diff options
context:
space:
mode:
authorSergii Dmytruk <sergii.dmytruk@3mdeb.com>2022-08-14 16:51:46 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-11-18 07:11:58 +0000
commit6d475ec4ab99d7ff912cc491b861ca40a07ecf26 (patch)
tree025e89f99f7883f898db039a83ddcd8656229643 /programmer.c
parent4df64d93a063ddbfbf9d05f7059fe8386385132a (diff)
downloadflashrom-6d475ec4ab99d7ff912cc491b861ca40a07ecf26.tar.gz
flashrom-6d475ec4ab99d7ff912cc491b861ca40a07ecf26.tar.bz2
flashrom-6d475ec4ab99d7ff912cc491b861ca40a07ecf26.zip
writeprotect.c: skip unnecessary writes
* Don't write register because of RO and OTP bits. * Skip the write of RW bits if register state wouldn't change by it. Change-Id: I81d2d3fc0a103ee00ced78838d77fe33a9d3056a Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66754 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Diffstat (limited to 'programmer.c')
0 files changed, 0 insertions, 0 deletions