summaryrefslogtreecommitdiffstats
path: root/flashrom.8
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2013-02-20 18:03:36 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2013-02-20 18:03:36 +0000
commit77fa67d2df7395047476b77946fa807fc851f737 (patch)
tree43992470f7822637643df463a92aebf674fb82d8 /flashrom.8
parente038e9082cce69f10f17747fc272ae370c9836cf (diff)
downloadast2050-flashrom-77fa67d2df7395047476b77946fa807fc851f737.zip
ast2050-flashrom-77fa67d2df7395047476b77946fa807fc851f737.tar.gz
dedirpog: add a parameter 'spispeed' to set the SPI clock rate
The following rates are available (in Hz): 375k, 750k, 1.5M, 2.18M, 3M, 8M, 12M and 24M The original driver reinitializes the programmer after setting the speed, so the initialization calls have moved into a new function dediprog_setup() which is called twice. Corresponding to flashrom svn r1649. Signed-off-by: Nico Huber <nico.huber@secunet.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashrom.8')
-rw-r--r--flashrom.812
1 files changed, 12 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 90afced..f8f1c4e 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -676,6 +676,18 @@ at 0.
Usage example to select the second device:
.sp
.B " flashrom \-p dediprog:device=1"
+.sp
+An optional
+.B spispeed
+parameter specifies the frequency of the SPI bus. Syntax is
+.sp
+.B " flashrom \-p dediprog:spispeed=frequency"
+.sp
+where
+.B frequency
+can be
+.BR 375k ", " 750k ", " 1.5M ", " 2.18M ", " 3M ", " 8M ", " 12M " or " 24M
+(in Hz). The default is a frequency of 12 MHz.
.SS
.BR "rayer_spi " programmer
The default I/O base address used for the parallel port is 0x378 and you can use
OpenPOWER on IntegriCloud