]> git.sur5r.net Git - openocd/blob - src/target/target/imx21.cfg
Add warning to generated Doxyfile to edit Doxyfile.in.
[openocd] / src / target / target / imx21.cfg
1 #use combined on interfaces or targets that can't set TRST/SRST separately
2 reset_config trst_and_srst
3
4 if { [info exists CHIPNAME] } { 
5    set  _CHIPNAME $CHIPNAME    
6 } else {         
7    set  _CHIPNAME imx21
8 }
9
10 if { [info exists ENDIAN] } {   
11    set  _ENDIAN $ENDIAN    
12 } else {         
13    set  _ENDIAN little
14 }
15
16
17 # Note above there is 1 tap 
18
19 # The CPU tap
20 if { [info exists CPUTAPID ] } {
21    set _CPUTAPID $CPUTAPID
22 } else {
23    set _CPUTAPID 0x0792611f
24 }
25 jtag newtap $_CHIPNAME cpu  -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
26
27
28 # Create the GDB Target.
29 set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
30 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
31
32 arm7_9 dcc_downloads enable