Inaky Perez-Gonzalez uploaded patch set #3 to the change originally created by David Hendricks.

View Change

dediprog: add serial argument

A quick hack to be able to select dediprogs by USB serial argument by
just adding a @serial_number parameter to dediprog_open() and using it
in preference to @id if available (since it is more specific).

Changes since v1:

- fix leak in serial_number

- allow specifying both id and serial_number to solve the case of
multiple devices matching the same serial nuber.

- simplify the selection flow per feedback in comments

Change-Id: I9cdfbce6cf941c16bf7b7364aa4166b91369e661
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
---
M dediprog.c
M flashrom.8.tmpl
2 files changed, 69 insertions(+), 10 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/06/37406/3

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9cdfbce6cf941c16bf7b7364aa4166b91369e661
Gerrit-Change-Number: 37406
Gerrit-PatchSet: 3
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Inaky Perez-Gonzalez
Gerrit-CC: Ryan O'Leary <ryanoleary@google.com>
Gerrit-MessageType: newpatchset