summaryrefslogtreecommitdiffstats
path: root/flashrom.8
diff options
context:
space:
mode:
authorNathan Laredo <nil@google.com>2012-12-24 22:07:36 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-12-24 22:07:36 +0000
commit21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2 (patch)
treee58203fe62b4e783fedcba3a3b2a119b716a0f8b /flashrom.8
parentacfc4c6c2fb66e8142df8ed69aa8c6374abc871a (diff)
downloadflashrom-21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2.tar.gz
flashrom-21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2.tar.bz2
flashrom-21541a6b22c0ccbfa6b65a6c1d4a76cfd0360ca2.zip
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>
Diffstat (limited to 'flashrom.8')
-rw-r--r--flashrom.811
1 files changed, 10 insertions, 1 deletions
diff --git a/flashrom.8 b/flashrom.8
index b054c28a9..bb481c7ea 100644
--- a/flashrom.8
+++ b/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