+# SPDX-License-Identifier: GPL-2.0-or-later
+
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
target create quark_d20xx.quark quark_d20xx -endian little -chain-position quark_d20xx.quark
-quark_d20xx.quark configure -event gdb-attach { halt }
-
quark_d20xx.quark configure -event reset-start {
# need to halt the target to write to memory
if {[quark_d20xx.quark curstate] ne "halted"} { halt }