diff options
author | Nico Huber <nico.huber@secunet.com> | 2013-02-20 18:03:36 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2013-02-20 18:03:36 +0000 |
commit | 77fa67d2df7395047476b77946fa807fc851f737 (patch) | |
tree | 43992470f7822637643df463a92aebf674fb82d8 /flashrom.8 | |
parent | e038e9082cce69f10f17747fc272ae370c9836cf (diff) | |
download | ast2050-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.8 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |