[flashrom] [commit] r1945 - trunk
repository service
svn at flashrom.org
Sun Feb 28 18:04:39 CET 2016
Author: stefanct
Date: Sun Feb 28 18:04:38 2016
New Revision: 1945
URL: http://flashrom.org/trac/flashrom/changeset/1945
Log:
rayer_spi: add support for SPI Tiny Tools-compatible hardware.
Apparently, there is at least one board of Russian origin (coined
SPI_TT LPT) that works with SPI Tiny Tools which is a closed-source
Windows GUI program somewhat similar to flashrom.
Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
Modified:
trunk/flashrom.8.tmpl
trunk/rayer_spi.c
Modified: trunk/flashrom.8.tmpl
==============================================================================
--- trunk/flashrom.8.tmpl Sat Feb 27 00:51:21 2016 (r1944)
+++ trunk/flashrom.8.tmpl Sun Feb 28 18:04:38 2016 (r1945)
@@ -899,7 +899,8 @@
.B model
can be
.BR rayer " for the RayeR cable, " byteblastermv " for the Altera ByteBlasterMV, " stk200 " for the Atmel \
-STK200/300, " wiggler " for the Macraigor Wiggler, or " xilinx " for the Xilinx Parallel Cable III (DLC 5)."
+STK200/300, " wiggler " for the Macraigor Wiggler, " xilinx " for the Xilinx Parallel Cable III (DLC 5), or" \
+" spi_tt" " for SPI Tiny Tools-compatible hardware.
.sp
More information about the RayeR hardware is available at
.nh
Modified: trunk/rayer_spi.c
==============================================================================
--- trunk/rayer_spi.c Sat Feb 27 00:51:21 2016 (r1944)
+++ trunk/rayer_spi.c Sun Feb 28 18:04:38 2016 (r1945)
@@ -106,12 +106,20 @@
.miso_bit = 7,
};
+static const struct rayer_pinout spi_tt = {
+ .cs_bit = 2,
+ .sck_bit = 0,
+ .mosi_bit = 4,
+ .miso_bit = 7,
+};
+
static const struct rayer_programmer rayer_spi_types[] = {
{"rayer", NT, "RayeR SPIPGM", &rayer_spipgm},
{"xilinx", NT, "Xilinx Parallel Cable III (DLC 5)", &xilinx_dlc5},
{"byteblastermv", OK, "Altera ByteBlasterMV", &altera_byteblastermv},
{"stk200", NT, "Atmel STK200/300 adapter", &atmel_stk200},
{"wiggler", OK, "Wiggler LPT", &wiggler_lpt},
+ {"spi_tt", NT, "SPI Tiny Tools (SPI_TT LPT)", &spi_tt},
{0},
};
More information about the flashrom
mailing list