tcl/psoc4: remove "ocd_" prefixed commands
[fw/openocd] / tcl / target / psoc4.cfg
index eb51847ce3a4334ad9cc6c66dac12bc5b7b1068b..544e109873c034f7ddf9335b47ff3c63e456f1ed 100644 (file)
@@ -179,7 +179,7 @@ proc ocd_process_reset_inner { MODE } {
                }
 
                # Check if PSoC CPU is stopped in system ROM
-               set pc [ocd_reg pc]
+               set pc [reg pc]
                regsub {pc[^:]*: } $pc "" pc
                if { $pc < 0x10000000 || $pc > 0x1000ffff } {
                        set hint ""