diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2015-01-19 16:43:14 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-02-22 17:57:02 +0000 |
commit | 2b0beed4b18bb7510a677e69821b007cad7d3e16 (patch) | |
tree | e47f3ad455525785b9e3d9837f6e1fe00c65e15a /tcl/target/alphascale_asm9260t.cfg | |
parent | 41124ea992b383f214d7a34766ae3c6cac74428c (diff) |
tcl/target|board: add configs for Alphascale asm9260t
This adds configs for Alphascale asm9260t ARM based SoC and
Evaluation Kit based on this chip.
Change-Id: Id8d3a1ef204e3ae84540c2693e3d62650ba82f73
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-on: http://openocd.zylin.com/2515
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl/target/alphascale_asm9260t.cfg')
-rw-r--r-- | tcl/target/alphascale_asm9260t.cfg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tcl/target/alphascale_asm9260t.cfg b/tcl/target/alphascale_asm9260t.cfg new file mode 100644 index 00000000..7892ea26 --- /dev/null +++ b/tcl/target/alphascale_asm9260t.cfg @@ -0,0 +1,25 @@ +if { [info exists CHIPNAME] } { + set _CHIPNAME $_CHIPNAME +} else { + set _CHIPNAME asm9260t +} + +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { + set _ENDIAN little +} + +if { [info exists CPUTAPID] } { + set _CPUTAPID $CPUTAPID +} else { + set _CPUTAPID 0x079264F3 +} + +# And srst_pulls_trst by chip design. +reset_config srst_pulls_trst + +jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID + +set _TARGETNAME $_CHIPNAME.cpu +target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME |