diff options
Diffstat (limited to 'src/jtag/interface.c')
-rw-r--r-- | src/jtag/interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jtag/interface.c b/src/jtag/interface.c index e83a772..fcdb8ee 100644 --- a/src/jtag/interface.c +++ b/src/jtag/interface.c @@ -365,6 +365,10 @@ tap_state_t tap_state_by_name(const char *name) { tap_state_t x; + /* standard SVF name is "IDLE" */ + if (0 == strcasecmp(name, "IDLE")) + return TAP_IDLE; + for (x = 0 ; x < TAP_NUM_STATES ; x++) { /* be nice to the human */ if (0 == strcasecmp(name, tap_state_name(x))) { |