remove unused JTAG_END_STATE
git-svn-id: svn://svn.berlios.de/openocd/trunk@1949 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
d12a47d558
commit
7992eaf0fc
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue