X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Ftcl.c;h=1658f76a264e0cf2a2c31dc52f465f4ea109d9f7;hp=e6928a2bfaa6b798d18f09c4830480d6fd631398;hb=016e7ebbfa034926c980b4b33b964f6078541690;hpb=cb7ad25c0404147a0a60f04c3b8fa8ac7386bb29 diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index e6928a2bfa..1658f76a26 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -845,6 +845,14 @@ static int handle_reset_config_command(struct command_context_s *cmd_ctx, char * int tmp = 0; int m; + m = RESET_SRST_GATES_JTAG; + tmp = 0; + if (strcmp(*args, "srst_gates_jtag") == 0) + { + tmp = RESET_SRST_GATES_JTAG; + goto next; + } + /* signals */ m = RESET_HAS_TRST | RESET_HAS_SRST; if (strcmp(*args, "none") == 0)