]> git.sur5r.net Git - openocd/commitdiff
Submitted by Magnus Lundin <lundin@mlu.mine.nu>:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 20:52:18 +0000 (20:52 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 23 May 2009 20:52:18 +0000 (20:52 +0000)
- Remove FTDI driver tap_set_state call; performed by jtag_add_reset.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1893 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/ft2232.c

index 924aecc56d00bf574df76d3bce4d71e04a65c95e..43c6f1692b1a3738cd08fe15097aab516217c049 100644 (file)
@@ -1629,10 +1629,6 @@ static int ft2232_execute_reset(jtag_command_t *cmd)
                first_unsent = cmd;
        }
 
-       if ( (cmd->cmd.reset->trst == 1) || ( cmd->cmd.reset->srst && (jtag_reset_config & RESET_SRST_PULLS_TRST) ) )
-       {
-               tap_set_state(TAP_RESET);
-       }
        layout->reset(cmd->cmd.reset->trst, cmd->cmd.reset->srst);
        require_send = 1;