~ubuntu-branches/ubuntu/wily/openocd/wily

« back to all changes in this revision

Viewing changes to tcl/target/ixp42x.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Uwe Hermann
  • Date: 2009-11-25 12:20:04 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091125122004-4cnrzqw7v9qu064n
Tags: 0.3.1-1
* New upstream release (Closes: #554598, #537740).
* Add sh4 (instead of sh) to the list of architectures (Closes: #555553).
* Standards-Version: 3.8.3 (no changes required).
* debian/watch: Add file.
* debian/docs: Updates, some files were removed, some added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#xscale ixp42x CPU
2
2
 
3
3
 
4
 
if { [info exists CHIPNAME] } { 
5
 
   set  _CHIPNAME $CHIPNAME    
6
 
} else {         
 
4
if { [info exists CHIPNAME] } {
 
5
   set  _CHIPNAME $CHIPNAME
 
6
} else {
7
7
   set  _CHIPNAME ixp42x
8
8
}
9
9
 
10
 
if { [info exists ENDIAN] } {   
11
 
   set  _ENDIAN $ENDIAN    
12
 
} else {         
 
10
if { [info exists ENDIAN] } {
 
11
   set  _ENDIAN $ENDIAN
 
12
} else {
13
13
  # this defaults to a bigendian
14
14
   set  _ENDIAN big
15
15
}
27
27
 
28
28
jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
29
29
 
30
 
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
 
30
set _TARGETNAME $_CHIPNAME.cpu
31
31
target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x
32
32