From: Øyvind Harboe Date: Mon, 18 Jan 2010 13:45:08 +0000 (+0100) Subject: commands: allow scan_chain command to be executed during config X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=56d2c86500be87c87150bcfc1b2fe59ece9a45f4;p=fw%2Fopenocd commands: allow scan_chain command to be executed during config Adding taps and then dumping them is quite reasonable thing to do in a config script. Signed-off-by: Øyvind Harboe --- diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index f48993f69..ffb5d2765 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -1674,7 +1674,7 @@ static const struct command_registration jtag_command_handlers[] = { { .name = "scan_chain", .handler = handle_scan_chain_command, - .mode = COMMAND_EXEC, + .mode = COMMAND_ANY, .help = "print current scan chain configuration", }, {