diff options
author | Sergey Alirzaev <zl29ah@gmail.com> | 2018-08-01 16:39:17 +0300 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2018-10-08 14:01:08 +0000 |
commit | 4acc3f3a8990cda15f04e5eabf028c5cda0d6619 (patch) | |
tree | ce763d072afff4636de2c9fc9f8622ebfc67cc18 /flashrom.8.tmpl | |
parent | 73ab88d58ee6ca1f0a822faafe0b14996e65ddbf (diff) | |
download | flashrom-4acc3f3a8990cda15f04e5eabf028c5cda0d6619.tar.gz flashrom-4acc3f3a8990cda15f04e5eabf028c5cda0d6619.tar.bz2 flashrom-4acc3f3a8990cda15f04e5eabf028c5cda0d6619.zip |
ft2232_spi: add an ability to use GPIO for chip selection
Change-Id: I6db05619e0d69ad18549c8556ef69225337b1532
Signed-off-by: Sergey Alirzaev <zl29ah@gmail.com>
Reviewed-on: https://review.coreboot.org/28911
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r-- | flashrom.8.tmpl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl index 70af395f..f882dc67 100644 --- a/flashrom.8.tmpl +++ b/flashrom.8.tmpl @@ -722,9 +722,9 @@ Olimex ARM-USB-TINY/-H, Olimex ARM-USB-OCD/-H, OpenMoko Neo1973 Debug board (V2+ Multi-Protocol Adapter (TUMPA), TUMPA Lite, GOEPEL PicoTAP and Google Servo v1/v2. .sp An optional parameter specifies the controller -type and channel/interface/port it should support. For that you have to use the +type, channel/interface/port and GPIO-based chip select it should support. For that you have to use the .sp -.B " flashrom \-p ft2232_spi:type=model,port=interface" +.B " flashrom \-p ft2232_spi:type=model,port=interface,csgpiol=gpio" .sp syntax where .B model @@ -733,14 +733,17 @@ can be arm-usb-tiny ", " arm-usb-tiny-h ", " arm-usb-ocd ", " arm-usb-ocd-h \ ", " tumpa ", " tumpalite ", " picotap ", " google-servo ", " google-servo-v2 \ " or " google-servo-v2-legacy -and .B interface can be -.BR A ", " B ", " C ", or " D . +.BR A ", " B ", " C ", or " D +and +.B csgpiol +can be a number between 0 and 3, denoting GPIOL0-GPIOL3 correspondingly. The default model is .B 4232H -and the default interface is -.BR A . +the default interface is +.BR A +and GPIO is not used by default. .sp If there is more than one ft2232_spi-compatible device connected, you can select which one should be used by specifying its serial number with the |