summaryrefslogtreecommitdiffstats
path: root/flashrom.8.tmpl
diff options
context:
space:
mode:
authorUrja Rannikko <urjaman@gmail.com>2016-01-31 22:10:29 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-01-31 22:10:29 +0000
commit0870b02516ec9ef90364c3feeb5d0d7dc9c0e785 (patch)
tree016c2ebed9c5ee0cc0f5e5d13b5e1859f4ca0258 /flashrom.8.tmpl
parente49edbb8989abe206d144e4ae7bc9f7ae636bada (diff)
downloadast2050-flashrom-0870b02516ec9ef90364c3feeb5d0d7dc9c0e785.zip
ast2050-flashrom-0870b02516ec9ef90364c3feeb5d0d7dc9c0e785.tar.gz
Add support for WCH CH341A as an SPI programmer
Corresponding to flashrom svn r1921. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Urja Rannikko <urjaman@gmail.com>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r--flashrom.8.tmpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl
index db25910..745b835 100644
--- a/flashrom.8.tmpl
+++ b/flashrom.8.tmpl
@@ -271,6 +271,8 @@ bitbanging adapter)
.sp
.BR "* pickit2_spi" " (for SPI flash ROMs accessible via Microchip PICkit2)"
.sp
+.BR "* ch341a_spi" " (for SPI flash ROMs attached to WCH CH341A)"
+.sp
Some programmers have optional or mandatory parameters which are described
in detail in the
.B PROGRAMMER-SPECIFIC INFORMATION
@@ -1019,6 +1021,10 @@ an operation), without the
parameter, once the flash read/write operation you intended to perform has completed successfully.
.sp
Please also note that the mstarddc_spi driver only works on Linux.
+.SS
+.BR "ch341a_spi " programmer
+The WCH CH341A programmer does not support any parameters currently. SPI frequency is fixed at 2 MHz, and CS0 is
+used as per the device.
.SH EXAMPLES
To back up and update your BIOS, run
.sp
@@ -1078,6 +1084,9 @@ needs userspace access to a serial port.
.BR dediprog ", " ft2232_spi ", " usbblaster_spi " and " pickit2_spi
need access to the respective USB device via libusb API version 0.1.
.sp
+.BR ch341a_spi
+needs access to the respective USB device via libusb API version 1.0.
+.sp
.B dummy
needs no access permissions at all.
.sp
@@ -1085,7 +1094,8 @@ needs no access permissions at all.
.BR gfxnvidia ", " drkaiser ", " satasii ", " satamv ", " atahpt ", " atavia " and " atapromise
have to be run as superuser/root, and need additional raw access permission.
.sp
-.BR serprog ", " buspirate_spi ", " dediprog ", " usbblaster_spi ", " ft2232_spi " and " pickit2_spi
+.BR serprog ", " buspirate_spi ", " dediprog ", " usbblaster_spi ", " ft2232_spi ", " pickit2_spi " and " \
+ch341a_spi
can be run as normal user on most operating systems if appropriate device
permissions are set.
.sp
OpenPOWER on IntegriCloud