[flashrom] [commit] r1756 - trunk

repository service svn at flashrom.org
Wed Oct 2 03:22:12 CEST 2013


Author: stefanct
Date: Wed Oct  2 03:22:11 2013
New Revision: 1756
URL: http://flashrom.org/trac/flashrom/changeset/1756

Log:
rayer_spi: Add pinout for Wiggler LPT.

Signed-off-by: Maksim Kuleshov <mmcx at mail.ru>
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
Tested-by: Maksim Kuleshov <mmcx at mail.ru>
Acked-by: Kyösti Mälkki <kyosti.malkki at gmail.com>

Modified:
   trunk/flashrom.8.tmpl
   trunk/rayer_spi.c

Modified: trunk/flashrom.8.tmpl
==============================================================================
--- trunk/flashrom.8.tmpl	Wed Oct  2 03:22:02 2013	(r1755)
+++ trunk/flashrom.8.tmpl	Wed Oct  2 03:22:11 2013	(r1756)
@@ -760,7 +760,7 @@
 .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 @@
 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 " .

Modified: trunk/rayer_spi.c
==============================================================================
--- trunk/rayer_spi.c	Wed Oct  2 03:22:02 2013	(r1755)
+++ trunk/rayer_spi.c	Wed Oct  2 03:22:11 2013	(r1756)
@@ -94,11 +94,19 @@
 	.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},
 };
 




More information about the flashrom mailing list