X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fimx35.cfg;h=446eef62ad882a0a947d551ca3e861672d3cfb0e;hb=c6b24fb4f0e9eb0a2ca3acaff8603e97b7ef0d80;hp=d7561657670edafca8aad7a264e071629046cd56;hpb=ce89c7bf6588c7b2800c4ca453278b6f94795130;p=openocd.git diff --git a/tcl/target/imx35.cfg b/tcl/target/imx35.cfg index d756165767..446eef62ad 100644 --- a/tcl/target/imx35.cfg +++ b/tcl/target/imx35.cfg @@ -1,15 +1,15 @@ # imx35 config # -if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME -} else { +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { set _CHIPNAME imx35 } -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { set _ENDIAN little } @@ -26,7 +26,7 @@ if { [info exists SDMATAPID ] } { } #======================================== -# The "system jtag controller" +# The "system jtag controller" # IMX31 reference manual, page 6-28 - figure 6-14 if { [info exists SJCTAPID ] } { set _SJCTAPID $SJCTAPID @@ -46,5 +46,5 @@ jtag newtap $_CHIPNAME smda -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_ set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -proc power_restore {} { puts "Sensed power restore. No action." } +proc power_restore {} { puts "Sensed power restore. No action." } proc srst_deasserted {} { puts "Sensed nSRST deasserted. No action." }