From b482c6d5c19bd60385ea7cfb7b889f683a0454e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samir=20Ibrad=C5=BEi=C4=87?= Date: Tue, 15 May 2012 22:58:19 +0000 Subject: ft2232_spi.c: add frequency divisor parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ć Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner --- flashrom.8 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'flashrom.8') diff --git a/flashrom.8 b/flashrom.8 index c29da749..9fb2f55f 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 -- cgit v1.2.3