aboutsummaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-23 07:19:25 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-23 07:19:25 +0000
commit26470de0e05ebb01efe71157cd69703fe3348561 (patch)
tree515f7398c0f437a3fdc209f7636cdc23c1e43e9c /src/jtag
parent3ccbf48fcc197e91aedebdbf90da2e87d2925db8 (diff)
Tim Hudson: removed setting jtag_speed directly (which should not be done).
git-svn-id: svn://svn.berlios.de/openocd/trunk@606 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/ft2232.c2
-rw-r--r--src/jtag/parport.c2
-rw-r--r--src/jtag/presto.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index 2740c3be..68de086f 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -256,8 +256,6 @@ int ft2232_speed(int speed)
return retval;
}
- jtag_speed = speed;
-
return ERROR_OK;
}
diff --git a/src/jtag/parport.c b/src/jtag/parport.c
index 9a888db7..e56d65c6 100644
--- a/src/jtag/parport.c
+++ b/src/jtag/parport.c
@@ -258,8 +258,6 @@ void parport_led(int on)
int parport_speed(int speed)
{
- jtag_speed = speed;
-
return ERROR_OK;
}
diff --git a/src/jtag/presto.c b/src/jtag/presto.c
index aa82f413..c031d94b 100644
--- a/src/jtag/presto.c
+++ b/src/jtag/presto.c
@@ -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);
}