mirror of
https://review.coreboot.org/flashrom.git
synced 2025-09-17 18:35:24 +02:00
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>
This commit is contained in:

committed by
Carl-Daniel Hailfinger

parent
e038e9082c
commit
77fa67d2df
12
flashrom.8
12
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
|
||||
|
Reference in New Issue
Block a user