]> git.sur5r.net Git - openocd/commitdiff
commands: allow scan_chain command to be executed during config
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 18 Jan 2010 13:45:08 +0000 (14:45 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 18 Jan 2010 20:42:34 +0000 (21:42 +0100)
Adding taps and then dumping them is quite reasonable thing
to do in a config script.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/tcl.c

index f48993f69d6c8bf489d2f29959bb9ce54d7eed42..ffb5d276544427fe7beb55075c84a2c1190b2708 100644 (file)
@@ -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",
        },
        {