mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Add a "device" parameter for Dediprog
This patch adds a "device" parameter for Dediprog which enables use of multiple dediprogs connected to a single machine. Very handy for test racks. Example usage: flashrom -p dediprog:device=0 flashrom -p dediprog:device=1 etc... The patch was originally written by Nathan Laredo. Thanks to David Hendricks for submitting it upstream. Additional error handling, man page etc. by Stefan Tauner. Corresponding to flashrom svn r1628. Signed-off-by: Nathan Laredo <nil@google.com> Signed-off-by: David Hendricks <dhendrix@google.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:

committed by
Stefan Tauner

parent
acfc4c6c2f
commit
21541a6b22
11
flashrom.8
11
flashrom.8
@ -1,4 +1,4 @@
|
||||
.TH FLASHROM 8 "Feb 15, 2012"
|
||||
.TH FLASHROM 8 "Dec, 2012"
|
||||
.SH NAME
|
||||
flashrom \- detect, read, write, verify and erase flash chips
|
||||
.SH SYNOPSIS
|
||||
@ -651,6 +651,15 @@ where
|
||||
can be
|
||||
.BR 0V ", " 1.8V ", " 2.5V ", " 3.5V
|
||||
or the equivalent in mV.
|
||||
.sp
|
||||
An optional
|
||||
.B device
|
||||
parameter specifies which of multiple connected Dediprog devices should be used.
|
||||
Please be aware that the order depends on libusb's usb_get_busses() function and that the numbering starts
|
||||
at 0.
|
||||
Usage example to select the second device:
|
||||
.sp
|
||||
.B " flashrom \-p dediprog:device=1"
|
||||
.SS
|
||||
.BR "rayer_spi " programmer
|
||||
The default I/O base address used for the parallel port is 0x378 and you can use
|
||||
|
Reference in New Issue
Block a user