Use jtag_rclk instead of jtag_speed. This fixes message

OLD SYNTAX: DEPRECATED - use jtag_khz, not jtag_speed

for BeagleBoard.
Subject: [PATCH v2] Use jtag_rclk instead of jtag_speed for BeagleBoard
From: Dirk Behme <dirk.be...@googlemail.com>

Use jtag_rclk instead of jtag_speed. This fixes message

OLD SYNTAX: DEPRECATED - use jtag_khz, not jtag_speed

for BeagleBoard.

Signed-off-by: Dirk Behme <dirk.be...@googlemail.com>

---

Changes in v2:

Don't use jtag_khz, instead use jtag_rclk. Do this in board config file.

Tested with BeagleBoard:

RCLK - adaptive
...    
Info : clock speed 6000 kHz

 tcl/board/ti_beagleboard.cfg |    2 ++
 tcl/interface/flyswatter.cfg |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: a/tcl/interface/flyswatter.cfg
===================================================================
--- a/tcl/interface/flyswatter.cfg
+++ b/tcl/interface/flyswatter.cfg
@@ -8,5 +8,3 @@ interface ft2232
 ft2232_device_desc "Flyswatter"
 ft2232_layout "flyswatter"
 ft2232_vid_pid 0x0403 0x6010
-jtag_speed 1
-
Index: a/tcl/board/ti_beagleboard.cfg
===================================================================
--- a/tcl/board/ti_beagleboard.cfg
+++ b/tcl/board/ti_beagleboard.cfg
@@ -1,6 +1,8 @@
 # OMAP3 BeagleBoard
 #  http://beagleboard.org
 
+jtag_rclk
+
 source [find target/omap3530.cfg]
 
 # TI-14 JTAG connector
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to