$_TARGETNAME.0 configure -event reset-assert { }
# hook the init function into the reset-init event
$_TARGETNAME.0 configure -event reset-init { imx6q_sabresd_init }
-# make sure target is halted when gdb attaches
-$_TARGETNAME.0 configure -event gdb-attach { halt }
# set a slow default JTAG clock, can be overridden later
adapter_khz 1000