cfg: Add interface config for Dangerous Prototypes BusBlaster
[fw/openocd] / tcl / interface / parport_dlc5.cfg
index defda3f3f105deb82f8a9ad9896bd81bc8748204..d0f183fc3e227b23ed8a875c460f75efc1b2e0f6 100644 (file)
@@ -4,8 +4,13 @@
 # http://www.xilinx.com/itp/xilinx4/data/docs/pac/appendixb.html
 #
 
+if { [info exists PARPORTADDR] } {
+   set  _PARPORTADDR $PARPORTADDR
+} else {
+   set  _PARPORTADDR 0
+}
+
 interface parport
-parport_port /dev/parport0
+parport_port $_PARPORTADDR
 parport_cable dlc5
-jtag_speed 0