This is an automated email from Gerrit.

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

-- gerrit

commit 4f4d15381546f2abc75b1dc79f8a55fa48ebb826
Author: Oleksij Rempel <[email protected]>
Date:   Thu Dec 29 09:23:18 2016 +0100

    tcl/target: add config Atheros ar5523
    
    Add configs for Atheros ar5523 MIPS based WiSoC
    used by many old usb wifi adapters. One of examples is:
    TP-LINK TL-WN620G.
    
    Change-Id: I05e47cfd196e7f346b6f5c3ade1a029d208a3466
    Signed-off-by: Oleksij Rempel <[email protected]>

diff --git a/tcl/target/atheros_ar5523.cfg b/tcl/target/atheros_ar5523.cfg
new file mode 100644
index 0000000..80f85f4
--- /dev/null
+++ b/tcl/target/atheros_ar5523.cfg
@@ -0,0 +1,16 @@
+if { [info exists CHIPNAME] } {
+       set _CHIPNAME $_CHIPNAME
+} else {
+       set _CHIPNAME ar5523
+}
+
+if { [info exists CPUTAPID] } {
+       set _CPUTAPID $CPUTAPID
+} else {
+       set _CPUTAPID 0x00000001
+}
+
+jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME

-- 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to