
Attention is currently required from: Nico Huber, Edward O'Callaghan, Angel Pons, Nikolai Artemiev. Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/58474 ) Change subject: [RFC] writeprotect, cli_classic: delete old writeprotect code ...................................................................... Patch Set 6: (6 comments) File cli_classic.c: https://review.coreboot.org/c/flashrom/+/58474/comment/bf21de41_47e64330 PS6, Line 700: complete until support is fully implemented? https://review.coreboot.org/c/flashrom/+/58474/comment/4326cdaf_c751aa52 PS6, Line 702: write protect is not supported on this flash chip is it not supported on this flash chip, or not supported in flashrom? https://review.coreboot.org/c/flashrom/+/58474/comment/3dc0edf0_22f71f17 PS6, Line 762: (void) wp_mode_opt; : (void) wp_region; sorry maybe that's a silly question, but what these two lines are doing? File writeprotect.h: https://review.coreboot.org/c/flashrom/+/58474/comment/97d66870_a90728c8 PS6, Line 24: WP_MODE_DISABLED, : WP_MODE_HARDWARE, : WP_MODE_POWER_CYCLE, : WP_MODE_PERMANENT, Is there a reason the comments on enum values have been removed? File writeprotect.c: PS3:
The only reason I was thinking to temporarily keep struct wp, is to keep cli_classic compiling. […] This patch definitely becomes easier to review :)
File writeprotect.c: https://review.coreboot.org/c/flashrom/+/58474/comment/7bc36102_d9d1face PS6, Line 18: #include <stdio.h> : #include <stdlib.h> : #include <string.h> : : #include "flash.h" : #include "chipdrivers.h" Technically, these includes are not needed (since the code has been removed)? -- To view, visit https://review.coreboot.org/c/flashrom/+/58474 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: flashrom Gerrit-Branch: master Gerrit-Change-Id: I67e9b31f86465e5a8f7d3def637198671ee818a8 Gerrit-Change-Number: 58474 Gerrit-PatchSet: 6 Gerrit-Owner: Nikolai Artemiev <nartemiev@google.com> Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org> Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com> Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org> Gerrit-Reviewer: Nico Huber <nico.h@gmx.de> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Paul Menzel <paulepanter@mailbox.org> Gerrit-Attention: Nico Huber <nico.h@gmx.de> Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org> Gerrit-Attention: Angel Pons <th3fanbus@gmail.com> Gerrit-Attention: Nikolai Artemiev <nartemiev@google.com> Gerrit-Comment-Date: Mon, 01 Nov 2021 23:48:23 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Angel Pons <th3fanbus@gmail.com> Comment-In-Reply-To: Nikolai Artemiev <nartemiev@google.com> Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org> Gerrit-MessageType: comment