X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fatheros_ar2313.cfg;fp=tcl%2Ftarget%2Fatheros_ar2313.cfg;h=0966c6c7ecf24a9e2ba70ae2875a77e2608d848c;hb=a9f2761083b109e6fc81068b18f39cac033492e2;hp=0000000000000000000000000000000000000000;hpb=5479ed42ba30dcc692c696cf1d215278e03ce0be;p=openocd.git diff --git a/tcl/target/atheros_ar2313.cfg b/tcl/target/atheros_ar2313.cfg new file mode 100644 index 0000000000..0966c6c7ec --- /dev/null +++ b/tcl/target/atheros_ar2313.cfg @@ -0,0 +1,16 @@ +if { [info exists CHIPNAME] } { + set _CHIPNAME $_CHIPNAME +} else { + set _CHIPNAME ar2313 +} + +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