jtag/aice: switch to command 'adapter serial'
[fw/openocd] / tcl / target / dsp56321.cfg
index 45068370595e3ca02971d43dd24114db224c269f..78ecb3bd2473ff23924e75b14eb268ed63f0fc51 100644 (file)
@@ -1,28 +1,27 @@
 # Script for freescale DSP56321
 #
 
-if { [info exists CHIPNAME] } {        
-   set  _CHIPNAME $CHIPNAME    
-} else {        
-   set  _CHIPNAME dsp56321
+if { [info exists CHIPNAME] } {
+   set _CHIPNAME $CHIPNAME
+} else {
+   set _CHIPNAME dsp56321
 }
 
-if { [info exists ENDIAN] } {  
-   set  _ENDIAN $ENDIAN    
-} else {        
+if { [info exists ENDIAN] } {
+   set _ENDIAN $ENDIAN
+} else {
   # this defaults to a big endian
-   set  _ENDIAN big
+   set _ENDIAN big
 }
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x1181501d
 }
 
 #jtag speed
-jtag_khz 4500
+adapter speed 4500
 
 #has only srst
 reset_config srst_only