From d70d9634bf6ab73ec4f2ac1e77012785770b460a Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 9 Nov 2009 13:16:32 -0800 Subject: 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 --- tcl/board/topas910.cfg | 2 +- tcl/board/topasa900.cfg | 2 +- tcl/interface/calao-usb-a9260.cfg | 5 ----- tcl/interface/openocd-usb.cfg | 3 --- tcl/interface/parport.cfg | 1 - tcl/interface/parport_dlc5.cfg | 1 - 6 files changed, 2 insertions(+), 12 deletions(-) (limited to 'tcl') diff --git a/tcl/board/topas910.cfg b/tcl/board/topas910.cfg index 01ace63..ce7c87a 100644 --- a/tcl/board/topas910.cfg +++ b/tcl/board/topas910.cfg @@ -99,7 +99,7 @@ proc topas910_init { } { mww 0xf4300004 0x00000000 sleep 10 -# jtag_speed 10000 +# jtag_khz NNNN # remap off in case of IROM boot mww 0xf0000004 0x00000001 diff --git a/tcl/board/topasa900.cfg b/tcl/board/topasa900.cfg index 699b42e..a8a6caf 100644 --- a/tcl/board/topasa900.cfg +++ b/tcl/board/topasa900.cfg @@ -105,7 +105,7 @@ proc topasa900_init { } { mww 0xf4300004 0x00000000 sleep 10 -# jtag_speed 10000 +# jtag_khz NNNN # remap off in case of IROM boot mww 0xf0000004 0x00000001 diff --git a/tcl/interface/calao-usb-a9260.cfg b/tcl/interface/calao-usb-a9260.cfg index 57c68d6..a9d7dec 100644 --- a/tcl/interface/calao-usb-a9260.cfg +++ b/tcl/interface/calao-usb-a9260.cfg @@ -5,12 +5,7 @@ # # See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg. # -# Note: You must have an OpenOCD version where jtag_speed sets two values. -# trunk r606 contains the fix for this particular issue which can -# be seen if jtag_speed does not set two separate values. -# -jtag_speed 1200 0 jtag_nsrst_delay 200 jtag_ntrst_delay 200 diff --git a/tcl/interface/openocd-usb.cfg b/tcl/interface/openocd-usb.cfg index 8bb9ffe..4000b23 100644 --- a/tcl/interface/openocd-usb.cfg +++ b/tcl/interface/openocd-usb.cfg @@ -9,6 +9,3 @@ ft2232_vid_pid 0x0403 0x6010 ft2232_device_desc "Dual RS232" ft2232_layout "oocdlink" ft2232_latency 2 -# 6/(1+n) Mhz TCLK -jtag_speed 1 - diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg index 6aaf80b..2a2668d 100644 --- a/tcl/interface/parport.cfg +++ b/tcl/interface/parport.cfg @@ -5,5 +5,4 @@ interface parport parport_port 0xc8b8 parport_cable wiggler -jtag_speed 0 diff --git a/tcl/interface/parport_dlc5.cfg b/tcl/interface/parport_dlc5.cfg index defda3f..0f94c65 100644 --- a/tcl/interface/parport_dlc5.cfg +++ b/tcl/interface/parport_dlc5.cfg @@ -7,5 +7,4 @@ interface parport parport_port /dev/parport0 parport_cable dlc5 -jtag_speed 0 -- cgit v1.1