From acba2ac238eea2b0df3ca04f68d3712cb077d705 Mon Sep 17 00:00:00 2001 From: Maksim Kuleshov Date: Wed, 2 Oct 2013 01:22:11 +0000 Subject: rayer_spi: Add pinout for Wiggler LPT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corresponding to flashrom svn r1756. Signed-off-by: Maksim Kuleshov Signed-off-by: Kyösti Mälkki Tested-by: Maksim Kuleshov Acked-by: Kyösti Mälkki --- flashrom.8.tmpl | 5 ++++- rayer_spi.c | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl index bcbb943..9390f92 100644 --- a/flashrom.8.tmpl +++ b/flashrom.8.tmpl @@ -760,7 +760,7 @@ syntax where .B model can be .BR rayer " for the RayeR cable, " byteblastermv " for the Altera ByteBlasterMV, " stk200 " for the Atmel \ -STK200/300, or " xilinx " for the Xilinx Parallel Cable III (DLC 5)." +STK200/300, " wiggler " for the Macraigor Wiggler, or " xilinx " for the Xilinx Parallel Cable III (DLC 5)." .sp More information about the RayeR hardware is available at .nh @@ -768,6 +768,9 @@ More information about the RayeR hardware is available at The Altera ByteBlasterMV datasheet can be obtained from .nh .BR "http://www.altera.co.jp/literature/ds/dsbytemv.pdf " . +For more information about the Macraigor Wiggler see +.nh +.BR "http://www.macraigor.com/wiggler.htm " . The schematic of the Xilinx DLC 5 was published in .nh .BR "http://www.xilinx.com/support/documentation/user_guides/xtp029.pdf " . diff --git a/rayer_spi.c b/rayer_spi.c index 23503cb..f8dff95 100644 --- a/rayer_spi.c +++ b/rayer_spi.c @@ -94,11 +94,19 @@ static const struct rayer_pinout atmel_stk200 = { .shutdown = stk200_shutdown, }; +static const struct rayer_pinout wiggler_lpt = { + .cs_bit = 1, + .sck_bit = 2, + .mosi_bit = 3, + .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}, {0}, }; -- cgit v1.1