summaryrefslogtreecommitdiffstats
path: root/flashrom.8
diff options
context:
space:
mode:
authorSamir Ibradžić <sibradzic@gmail.com>2012-05-15 22:58:19 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-05-15 22:58:19 +0000
commitb482c6d5c19bd60385ea7cfb7b889f683a0454e2 (patch)
treee8b1e5c4405905162c711097d21308277170e05c /flashrom.8
parent901a3ba023fd64e29309637f5ad835218e1bb2ac (diff)
downloadast2050-flashrom-b482c6d5c19bd60385ea7cfb7b889f683a0454e2.zip
ast2050-flashrom-b482c6d5c19bd60385ea7cfb7b889f683a0454e2.tar.gz
ft2232_spi.c: add frequency divisor parameter
This adds an optional argument when using the ft2232_spi programmer to set the frequency divisor. The valid values for the divisor is any even integer between 2 and 131072. Corresponding to flashrom svn r1537. Signed-off-by: Samir Ibradžić <sibradzic@gmail.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, 11 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index c29da74..9fb2f55 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -549,6 +549,17 @@ The default model is
.B 4232H
and the default interface is
.BR B .
+.sp
+All models supported by the ft2232_spi driver can configure the SPI clock rate by setting a divisor. The
+expressible divisors are all even numbers between 2 and 2^17 (=131072) resulting in SPI clock frequencies of
+6 MHz down to about 92 Hz for 12 MHz inputs. The default divisor is set to 2, but you can use another one by
+specifying the optional
+.B divisor
+parameter with the
+.sp
+.B " flashrom \-p ft2232_spi:divisor=div"
+.sp
+syntax.
.SS
.BR "serprog " programmer
A mandatory parameter specifies either a serial
OpenPOWER on IntegriCloud