summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-10-02 01:22:11 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-10-02 01:22:11 +0000
commit4cb0e2fbe8f669650c94fe8a6cbacb3394ceafa5 (patch)
treeda005ca94ce790cec14cb99c996bfc07088c2754
parent118beac77440deec1e2d7382c90320158d73c8ae (diff)
downloadflashrom-4cb0e2fbe8f669650c94fe8a6cbacb3394ceafa5.tar.gz
rayer_spi: Add pinout for Wiggler LPT.
Signed-off-by: Maksim Kuleshov <mmcx@mail.ru> Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: Maksim Kuleshov <mmcx@mail.ru> Acked-by: Kyösti Mälkki <kyosti.malkki@gmail.com> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--flashrom.8.tmpl5
-rw-r--r--rayer_spi.c8
2 files changed, 12 insertions, 1 deletions
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},
};