mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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
This commit is contained in:
@@ -256,8 +256,6 @@ int ft2232_speed(int speed)
|
||||
return retval;
|
||||
}
|
||||
|
||||
jtag_speed = speed;
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -258,8 +258,6 @@ void parport_led(int on)
|
||||
|
||||
int parport_speed(int speed)
|
||||
{
|
||||
jtag_speed = speed;
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user