diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2016-02-28 17:04:38 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2016-02-28 17:04:38 +0000 |
commit | a6ff28a1a28cee8a1769444235a262fa4103d96d (patch) | |
tree | 3b20fe94c10bfff20d770f356077946bc1fd3a04 /rayer_spi.c | |
parent | eb924defd9b6f789d76882461683e8ec2b490c22 (diff) | |
download | flashrom-a6ff28a1a28cee8a1769444235a262fa4103d96d.tar.gz |
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@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1945 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'rayer_spi.c')
-rw-r--r-- | rayer_spi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rayer_spi.c b/rayer_spi.c index 4f1eee4..3656d26 100644 --- a/rayer_spi.c +++ b/rayer_spi.c @@ -106,12 +106,20 @@ static const struct rayer_pinout wiggler_lpt = { .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}, }; |