This is an automated email from Gerrit.

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

-- gerrit

commit f88a96d726c17b7876e90b3da92c40e644fb5212
Author: Peter Mamonov <[email protected]>
Date:   Fri Sep 26 14:04:51 2014 +0400

    tcl/target: Add XLP3xx configuration files
    
    The patch adds configuration files for the following XLP 300-series 
processors:
    XLP304, XLP308, XLP316.
    
    Change-Id: Iaf2b807abf9fc4d7b51222fd40bdb18c6aca7d9c
    Signed-off-by: Aleksey Kuleshov <[email protected]>
    Signed-off-by: Peter Mamonov <[email protected]>
    CC: Antony Pavlov <[email protected]>
    CC: Dongxue Zhang <[email protected]>
    CC: Oleksij Rempel <[email protected]>
    CC: Paul Fertser <[email protected]>
    CC: Salvador Arroyo <[email protected]>
    CC: Spencer Oliver <[email protected]>

diff --git a/tcl/target/xlp304.cfg b/tcl/target/xlp304.cfg
new file mode 100644
index 0000000..0496509
--- /dev/null
+++ b/tcl/target/xlp304.cfg
@@ -0,0 +1,6 @@
+#
+# Target: XLP304 processor by NetLogic Microsystems
+#
+
+set XLP_NT 4
+source [find target/xlp3xx.cfg]
diff --git a/tcl/target/xlp308.cfg b/tcl/target/xlp308.cfg
new file mode 100644
index 0000000..01e85f8
--- /dev/null
+++ b/tcl/target/xlp308.cfg
@@ -0,0 +1,6 @@
+#
+# Target: XLP308 processor by NetLogic Microsystems
+#
+
+set XLP_NT 8
+source [find target/xlp3xx.cfg]
diff --git a/tcl/target/xlp316.cfg b/tcl/target/xlp316.cfg
new file mode 100644
index 0000000..de94040
--- /dev/null
+++ b/tcl/target/xlp316.cfg
@@ -0,0 +1,6 @@
+#
+# Target: XLP316 processor by NetLogic Microsystems
+#
+
+set XLP_NT 16
+source [find target/xlp3xx.cfg]
diff --git a/tcl/target/xlp3xx.cfg b/tcl/target/xlp3xx.cfg
new file mode 100644
index 0000000..64fc265
--- /dev/null
+++ b/tcl/target/xlp3xx.cfg
@@ -0,0 +1,38 @@
+#
+# Target: XLP 300-series processors by NetLogic Microsystems
+#
+# See http://www.broadcom.com/products/Processors/Enterprise/XLP300-Series
+#
+# Use xlp304.cfg, xlp308.cfg, xlp316.cfg for particular processor model.
+#
+
+adapter_khz 10000
+
+global XLP_NT
+
+for {set i $XLP_NT} {$i > 0} {incr i -1} {
+       jtag newtap xlp cpu_$i -irlen 5 -disable
+       if {$i != 1} {
+               jtag configure xlp.cpu_$i -event tap-enable {}
+       }
+}
+jtag newtap xlp jrc -irlen 16 -expected-id 0x00011449
+
+jtag configure xlp.cpu_1 -event tap-enable {
+       global XLP_NT
+       irscan xlp.jrc 0xe0
+       drscan xlp.jrc 1 1
+       for {set i $XLP_NT} {$i > 1} {incr i -1} {
+               jtag tapenable xlp.cpu_$i
+       }
+}
+
+proc chipreset {} {
+       irscan xlp.jrc 0xab
+       drscan xlp.jrc 1 1
+       drscan xlp.jrc 1 0
+}
+
+jtag configure xlp.jrc -event setup "jtag tapenable xlp.cpu_1"
+
+target create xlp.cpu_1 mips_xlp3xx -endian big -chain-position xlp.cpu_1

-- 

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to