]> git.sur5r.net Git - openocd/commitdiff
Tim Hudson: removed setting jtag_speed directly (which should not be done).
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Apr 2008 07:19:25 +0000 (07:19 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 23 Apr 2008 07:19:25 +0000 (07:19 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@606 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/ft2232.c
src/jtag/parport.c
src/jtag/presto.c

index 2740c3be124da0c942aecc00a45bf50b24c96787..68de086f4248856208cf8425efad3e04ca78bdd0 100644 (file)
@@ -256,8 +256,6 @@ int ft2232_speed(int speed)
                return retval;
        }
 
-       jtag_speed = speed;
-       
        return ERROR_OK;
 }
 
index 9a888db748f1c1168ec7046215df3c1962866cd2..e56d65c6eede87fcea3ca2ded28b843b1f7902c8 100644 (file)
@@ -258,8 +258,6 @@ void parport_led(int on)
 
 int parport_speed(int speed)
 {
-       jtag_speed = speed;
-       
        return ERROR_OK;
 }
 
index aa82f4133c4e0bacc656505da62f555fc63c6004..c031d94b1dac8f30b8d7f9811e7019f6c28ab7a1 100644 (file)
@@ -714,7 +714,6 @@ int presto_jtag_speed(int speed)
                return ERROR_INVALID_ARGUMENTS;
        }
 
-       jtag_speed = speed;
        LOG_INFO("setting speed to %d, max. TCK freq. is %s", speed, presto_speed_text[speed]);
        return presto_sendbyte(0xA8 | speed);
 }