aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/atheros_ar2315.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/atheros_ar2315.cfg')
-rw-r--r--tcl/target/atheros_ar2315.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/tcl/target/atheros_ar2315.cfg b/tcl/target/atheros_ar2315.cfg
new file mode 100644
index 0000000..92ad376
--- /dev/null
+++ b/tcl/target/atheros_ar2315.cfg
@@ -0,0 +1,16 @@
+if { [info exists CHIPNAME] } {
+ set _CHIPNAME $_CHIPNAME
+} else {
+ set _CHIPNAME ar2315
+}
+
+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