summaryrefslogtreecommitdiff
path: root/src/jtag/core.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-09 13:16:32 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-09 13:16:32 -0800
commitd70d9634bf6ab73ec4f2ac1e77012785770b460a (patch)
treee2cfbb23ab2a145dbd465832415de867904c247f /src/jtag/core.c
parent9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4 (diff)
downloadopenocd+libswd-d70d9634bf6ab73ec4f2ac1e77012785770b460a.tar.gz
openocd+libswd-d70d9634bf6ab73ec4f2ac1e77012785770b460a.tar.bz2
openocd+libswd-d70d9634bf6ab73ec4f2ac1e77012785770b460a.tar.xz
openocd+libswd-d70d9634bf6ab73ec4f2ac1e77012785770b460a.zip
finish removing deprecated/obsolete commands
It's been about a year since these were deprecated and, in most cases, removed. There's no point in carrying that documentation, or backwards compatibility for "jtag_device" and "jtag_speed", around forever. (Or a few remnants of obsolete code...) Removed a few obsolete uses of "jtag_speed": - The Calao stuff hasn't worked since July 2008. (Those Atmel targets need to work with a 32KHz core clock after reset until board-specific init-reset code sets up the PLL and enables a faster JTAg clock.) - Parport speed controls don't actually work (tops out at about 1 MHz on typical HW). - In general, speed controls need to live in board.cfg files (or sometimes target.cfg files), not interface.cfg ... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/jtag/core.c')
-rw-r--r--src/jtag/core.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c
index 8bb45bcd..bbe7425f 100644
--- a/src/jtag/core.c
+++ b/src/jtag/core.c
@@ -1569,13 +1569,6 @@ static int jtag_set_speed(int speed)
return jtag ? jtag->speed(speed) : ERROR_OK;
}
-int jtag_config_speed(int speed)
-{
- LOG_DEBUG("handle jtag speed");
- clock_mode = CLOCK_MODE_SPEED;
- return jtag_set_speed(speed);
-}
-
int jtag_config_khz(unsigned khz)
{
LOG_DEBUG("handle jtag khz");