diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-30 11:37:21 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-30 11:37:21 +0000 |
commit | 7992eaf0fcfa3afe9941200fd76b0c296aadb356 (patch) | |
tree | 2a76c7cf0f9b6865e99bec8264086ceb90a2bb6d | |
parent | d12a47d558dbe859f3ce8ab85b49eb72595cc854 (diff) | |
download | riscv-openocd-7992eaf0fcfa3afe9941200fd76b0c296aadb356.zip riscv-openocd-7992eaf0fcfa3afe9941200fd76b0c296aadb356.tar.gz riscv-openocd-7992eaf0fcfa3afe9941200fd76b0c296aadb356.tar.bz2 |
remove unused JTAG_END_STATE
git-svn-id: svn://svn.berlios.de/openocd/trunk@1949 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/amt_jtagaccel.c | 7 | ||||
-rw-r--r-- | src/jtag/arm-jtag-ew.c | 9 | ||||
-rw-r--r-- | src/jtag/bitbang.c | 7 | ||||
-rw-r--r-- | src/jtag/bitq.c | 7 | ||||
-rw-r--r-- | src/jtag/gw16012.c | 7 | ||||
-rw-r--r-- | src/jtag/jlink.c | 1 | ||||
-rw-r--r-- | src/jtag/rlink/rlink.c | 8 | ||||
-rw-r--r-- | src/jtag/usbprog.c | 7 | ||||
-rw-r--r-- | src/jtag/vsllink.c | 9 |
9 files changed, 0 insertions, 62 deletions
diff --git a/src/jtag/amt_jtagaccel.c b/src/jtag/amt_jtagaccel.c index f739dce..0271c01 100644 --- a/src/jtag/amt_jtagaccel.c +++ b/src/jtag/amt_jtagaccel.c @@ -332,13 +332,6 @@ static int amt_jtagaccel_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %i", cmd->cmd.end_state->end_state); -#endif - if (cmd->cmd.end_state->end_state != TAP_INVALID) - amt_jtagaccel_end_state(cmd->cmd.end_state->end_state); - break; case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/arm-jtag-ew.c b/src/jtag/arm-jtag-ew.c index f883d5d..180f40d 100644 --- a/src/jtag/arm-jtag-ew.c +++ b/src/jtag/arm-jtag-ew.c @@ -133,15 +133,6 @@ static int armjtagew_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: - DEBUG_JTAG_IO("end_state: %i", cmd->cmd.end_state->end_state); - - if (cmd->cmd.end_state->end_state != TAP_INVALID) - { - armjtagew_end_state(cmd->cmd.end_state->end_state); - } - break; - case JTAG_RUNTEST: DEBUG_JTAG_IO( "runtest %i cycles, end in %i", cmd->cmd.runtest->num_cycles, \ cmd->cmd.runtest->end_state); diff --git a/src/jtag/bitbang.c b/src/jtag/bitbang.c index a4c2c43..ce4fa19 100644 --- a/src/jtag/bitbang.c +++ b/src/jtag/bitbang.c @@ -253,13 +253,6 @@ int bitbang_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %s", tap_state_name(cmd->cmd.end_state->end_state) ); -#endif - if (cmd->cmd.end_state->end_state != TAP_INVALID) - bitbang_end_state(cmd->cmd.end_state->end_state); - break; case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/bitq.c b/src/jtag/bitq.c index b196ffc..eaf7a63 100644 --- a/src/jtag/bitq.c +++ b/src/jtag/bitq.c @@ -296,13 +296,6 @@ int bitq_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %i", cmd->cmd.end_state->end_state); -#endif - bitq_end_state(cmd->cmd.end_state->end_state); - break; - case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/gw16012.c b/src/jtag/gw16012.c index c6acaca..f5f8b86 100644 --- a/src/jtag/gw16012.c +++ b/src/jtag/gw16012.c @@ -354,13 +354,6 @@ static int gw16012_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %i", cmd->cmd.end_state->end_state); -#endif - if (cmd->cmd.end_state->end_state != TAP_INVALID) - gw16012_end_state(cmd->cmd.end_state->end_state); - break; case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 6d67da5..e29324a 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -234,7 +234,6 @@ static void jlink_execute_command(jtag_command_t *cmd) { switch (cmd->type) { - case JTAG_END_STATE: jlink_execute_end_state(cmd); break; case JTAG_RUNTEST: jlink_execute_runtest(cmd); break; case JTAG_STATEMOVE: jlink_execute_statemove(cmd); break; case JTAG_PATHMOVE: jlink_execute_pathmove(cmd); break; diff --git a/src/jtag/rlink/rlink.c b/src/jtag/rlink/rlink.c index 1dbd450..7cebfcd 100644 --- a/src/jtag/rlink/rlink.c +++ b/src/jtag/rlink/rlink.c @@ -1399,7 +1399,6 @@ int rlink_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: case JTAG_RUNTEST: case JTAG_STATEMOVE: case JTAG_PATHMOVE: @@ -1415,13 +1414,6 @@ int rlink_execute_queue(void) switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %i", cmd->cmd.end_state->end_state); -#endif - if (cmd->cmd.end_state->end_state != -1) - rlink_end_state(cmd->cmd.end_state->end_state); - break; case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c index 2794e17..dfde295 100644 --- a/src/jtag/usbprog.c +++ b/src/jtag/usbprog.c @@ -135,13 +135,6 @@ static int usbprog_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: -#ifdef _DEBUG_JTAG_IO_ - LOG_DEBUG("end_state: %i", cmd->cmd.end_state->end_state); -#endif - if (cmd->cmd.end_state->end_state != TAP_INVALID) - usbprog_end_state(cmd->cmd.end_state->end_state); - break; case JTAG_RESET: #ifdef _DEBUG_JTAG_IO_ LOG_DEBUG("reset trst: %i srst %i", cmd->cmd.reset->trst, cmd->cmd.reset->srst); diff --git a/src/jtag/vsllink.c b/src/jtag/vsllink.c index 658f8c6..79444a9 100644 --- a/src/jtag/vsllink.c +++ b/src/jtag/vsllink.c @@ -296,15 +296,6 @@ static int vsllink_execute_queue(void) { switch (cmd->type) { - case JTAG_END_STATE: - DEBUG_JTAG_IO("end_state: %s", tap_state_name(cmd->cmd.end_state->end_state)); - - if (cmd->cmd.end_state->end_state != TAP_INVALID) - { - vsllink_end_state(cmd->cmd.end_state->end_state); - } - break; - case JTAG_RUNTEST: DEBUG_JTAG_IO( "runtest %i cycles, end in %s", cmd->cmd.runtest->num_cycles, \ tap_state_name(cmd->cmd.runtest->end_state)); |