From 56d2c86500be87c87150bcfc1b2fe59ece9a45f4 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 18 Jan 2010 14:45:08 +0100 Subject: commands: allow scan_chain command to be executed during config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding taps and then dumping them is quite reasonable thing to do in a config script. Signed-off-by: Øyvind Harboe --- 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 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", }, { -- cgit v1.2.3