diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2017-07-15 17:52:01 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2017-10-03 11:24:15 +0100 |
commit | e548d17f627666c7bd87dd114133de020a5da48d (patch) | |
tree | fe18fb45af3627bf57a0e8e4c71da3fcaf443aec | |
parent | f441f58ad6e58aefd3045810371d432acbd5b0f8 (diff) |
target: add atheros_ar9344.cfg
Change-Id: I005b4c78ccb0fec8d38a25430cb49c580dcd8df5
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-on: http://openocd.zylin.com/4191
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r-- | tcl/target/atheros_ar9344.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tcl/target/atheros_ar9344.cfg b/tcl/target/atheros_ar9344.cfg new file mode 100644 index 00000000..f273fb05 --- /dev/null +++ b/tcl/target/atheros_ar9344.cfg @@ -0,0 +1,16 @@ +if { [info exists CHIPNAME] } { + set _CHIPNAME $_CHIPNAME +} else { + set _CHIPNAME ar9344 +} + +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 |