From: Zachary T Welch Date: Fri, 4 Dec 2009 01:41:39 +0000 (-0800) Subject: allow 'jtag init' to be run in any mode X-Git-Tag: v0.4.0-rc1~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eae56d27c3892188560918526710d44d147b0c8d;p=openocd allow 'jtag init' to be run in any mode Help alleviate further potential problems with interactive startup. --- diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index cc890801..81bafbb6 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -828,7 +828,7 @@ COMMAND_HANDLER(handle_jtag_init_command) static const struct command_registration jtag_subcommand_handlers[] = { { .name = "init", - .mode = COMMAND_CONFIG, + .mode = COMMAND_ANY, .handler = &handle_jtag_init_command, .help = "initialize jtag scan chain", },