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-Tag: v0.4.0-rc2~77 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56d2c86500be87c87150bcfc1b2fe59ece9a45f4;p=openocd 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 f48993f6..ffb5d276 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", }, {