Attention is currently required from: Edward O'Callaghan, Angel Pons, Anastasia Klimchuk.
View Change
1 comment:
File programmer.h:
Patch Set #1, Line 228: enable_flash_xxx
Example: https://github.com/torvalds/linux/blob/fcadab740480e0e0e9fa9bd272acd409884d431a/Documentation/locking/spinlocks.rst
Huh? that's documentation examples, I don't see there any `xxx` in an API?
Also, the syntax alone makes it obvious that it's not a specific implementation
that is called. Why introduce placeholders? Imagine I would have used outb_xxx,
inb_xxx, outw_xxx, etc. in CB:52604. Would there be any benefit?
I see the whole thing here as a usual command pattern. The function references
are often called run() or execute(); doit() would work for me too. For me it's
a chipset enable and what we do is run the chipset enable.
NB. I think enable_flash_* is not a good name for these functions in general.
To view, visit change 52364. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8b3a4ec51ea488c40c20ccafea883f8dea93577d
Gerrit-Change-Number: 52364
Gerrit-PatchSet: 2
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
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: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Comment-Date: Thu, 22 Apr 2021 13:59:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h@gmx.de>
Comment-In-Reply-To: Edward O'Callaghan <quasisec@chromium.org>
Comment-In-Reply-To: Angel Pons <th3fanbus@gmail.com>
Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: comment