flash: fix at91sam3/4 driver typos
[fw/openocd] / tcl / interface / parport.cfg
index 6aaf80b7bb857a78ec17708d94f2cb88fc2b0193..f7cc23ab48cc9be2a0820ad4dcb2536a0ccc1929 100644 (file)
@@ -1,9 +1,15 @@
 #
-# Parallel port wiggler (many clones available) on port 0xc8b8
+# Parallel port wiggler (many clones available) on port 0x378
 #
+# Addresses: 0x378/LPT1 or 0x278/LPT2 ...
+#
+
+if { [info exists PARPORTADDR] } {
+   set _PARPORTADDR $PARPORTADDR
+} else {
+   set _PARPORTADDR 0x378
+}
 
 interface parport
-parport_port 0xc8b8
+parport_port $_PARPORTADDR
 parport_cable wiggler
-jtag_speed 0
-