This is an automated email from Gerrit.

Franck Jullien ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/2056

-- gerrit

commit d1333b5a7b0211280fe65181de4e9b68eca6950d
Author: Franck Jullien <[email protected]>
Date:   Tue Mar 18 20:04:30 2014 +0100

    cfg: or1k_generic: allow TAP_TYPE override
    
    This patch allows users to specify TAP_TYPE from
    the command line when using or1k_generic.cfg.
    
    Change-Id: I9f4b7d8e4867658fa34bb4e92fc3a5f25227df11
    Signed-off-by: Franck Jullien <[email protected]>

diff --git a/tcl/board/or1k_generic.cfg b/tcl/board/or1k_generic.cfg
index e7588f9..5d23641 100644
--- a/tcl/board/or1k_generic.cfg
+++ b/tcl/board/or1k_generic.cfg
@@ -4,7 +4,10 @@
 set FPGATAPID 0x020b30dd
 
 # Choose your TAP core (VJTAG , MOHOR or XILINX_BSCAN)
-set TAP_TYPE VJTAG
+if { [info exists TAP_TYPE] == 0} {
+   set TAP_TYPE VJTAG
+}
+
 # Set your chip name
 set CHIPNAME or1200
 

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to