summaryrefslogtreecommitdiffstats
path: root/rayer_spi.c
diff options
context:
space:
mode:
authorMaksim Kuleshov <mmcx@mail.ru>2013-10-02 01:22:11 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-10-02 01:22:11 +0000
commitacba2ac238eea2b0df3ca04f68d3712cb077d705 (patch)
treeda005ca94ce790cec14cb99c996bfc07088c2754 /rayer_spi.c
parent4dab5c1e0725ff2f6e5571c91023a6a2551e487d (diff)
downloadast2050-flashrom-acba2ac238eea2b0df3ca04f68d3712cb077d705.zip
ast2050-flashrom-acba2ac238eea2b0df3ca04f68d3712cb077d705.tar.gz
rayer_spi: Add pinout for Wiggler LPT
Corresponding to flashrom svn r1756. 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>
Diffstat (limited to 'rayer_spi.c')
-rw-r--r--rayer_spi.c8
1 files changed, 8 insertions, 0 deletions
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},
};
OpenPOWER on IntegriCloud