From eae56d27c3892188560918526710d44d147b0c8d Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 17:41:39 -0800 Subject: [PATCH] allow 'jtag init' to be run in any mode Help alleviate further potential problems with interactive startup. --- src/jtag/tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", }, -- 2.39.5