allow 'jtag init' to be run in any mode

Help alleviate further potential problems with interactive startup.
This commit is contained in:
Zachary T Welch 2009-12-03 17:41:39 -08:00
parent a535d2f643
commit eae56d27c3

View File

@ -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",
},