Skip to content

Commit

Permalink
rayer_spi: Add pinout for Wiggler LPT
Browse files Browse the repository at this point in the history
Corresponding to flashrom svn r1756.

Signed-off-by: Maksim Kuleshov <[email protected]>
Signed-off-by: Kyösti Mälkki <[email protected]>
Tested-by: Maksim Kuleshov <[email protected]>
Acked-by: Kyösti Mälkki <[email protected]>
  • Loading branch information
mmcx authored and stefanct committed Oct 2, 2013
1 parent 4dab5c1 commit acba2ac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flashrom.8.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -760,14 +760,17 @@ 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
.BR "http://rayer.ic.cz/elektro/spipgm.htm " .
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 " .
Expand Down
8 changes: 8 additions & 0 deletions rayer_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};

Expand Down

0 comments on commit acba2ac

Please sign in to comment.