summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-01-18 14:45:08 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-01-18 21:42:34 +0100
commit56d2c86500be87c87150bcfc1b2fe59ece9a45f4 (patch)
treea952890ddd27a3afc58a73c9bb8da93474647acb /src
parent0b641dac717ffe1391cc53dc33ad78ba79a26d2c (diff)
downloadopenocd+libswd-56d2c86500be87c87150bcfc1b2fe59ece9a45f4.tar.gz
openocd+libswd-56d2c86500be87c87150bcfc1b2fe59ece9a45f4.tar.bz2
openocd+libswd-56d2c86500be87c87150bcfc1b2fe59ece9a45f4.tar.xz
openocd+libswd-56d2c86500be87c87150bcfc1b2fe59ece9a45f4.zip
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 <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/jtag/tcl.c2
1 files changed, 1 insertions, 1 deletions
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",
},
{