summaryrefslogtreecommitdiff
path: root/src/helper/startup.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/startup.tcl')
-rw-r--r--src/helper/startup.tcl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl
index 7225929f..229aa066 100644
--- a/src/helper/startup.tcl
+++ b/src/helper/startup.tcl
@@ -359,3 +359,13 @@ proc capture_catch {a} {
} result
return $result
}
+
+
+# Executed during "init". Can be implemented by target script
+# tar
+proc jtag_init {} {
+ if {[catch {jtag arp_init} err]!=0} {
+ # try resetting additionally
+ jtag arp_init-reset
+ }
+} \ No newline at end of file