Add common LPC2xxx setup procedure, use in all LPC2xxx files.
[fw/openocd] / tcl / target / imx31.cfg
index 46b4f94e6829be5d9edfaa6175d521768475bdb3..b9eddd0659d185abeddd16a9b33e1524e5c66148 100644 (file)
@@ -3,7 +3,7 @@
 
 reset_config trst_and_srst srst_gates_jtag
 
-jtag_nsrst_delay 5
+adapter_nsrst_delay 5
 
 if { [info exists CHIPNAME] } {
    set  _CHIPNAME $CHIPNAME
@@ -60,8 +60,8 @@ set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
 
 
-proc power_restore {} { puts "Sensed power restore. No action." }
-proc srst_deasserted {} { puts "Sensed nSRST deasserted. No action." }
+proc power_restore {} { echo "Sensed power restore. No action." }
+proc srst_deasserted {} { echo "Sensed nSRST deasserted. No action." }
 
 # trace setup ... NOTE, "normal full" mode fudges the real ETMv3.1 mode
 etm config $_TARGETNAME 16 normal full etb