Looks quite good. Only blocker is the missing . in the manpage.
The other comments are mostly for my understanding.

AFAICS, the code in stlinkv3_spi.c could be much condensed by a
simple function that handles the command/answer pattern, e.g.

    int stlinkv3_command(const uint8_t *command, size_t command_length,
uint8_t *answer, size_t answer_length);

Patch set 4:Code-Review +1

View Change

5 comments:

To view, visit change 34661. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Icffab87ac8f2c570187ed753ec70f054541873a4
Gerrit-Change-Number: 34661
Gerrit-PatchSet: 4
Gerrit-Owner: Miklós Márton <martonmiklosqdev@gmail.com>
Gerrit-Reviewer: Miklós Márton <martonmiklosqdev@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Sun, 22 Dec 2019 16:38:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment