Inaky Perez-Gonzalez uploaded patch set #3 to the change originally created by David Hendricks.
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.