From 0f41634d4fc75dd884f2cd14cb4435a7ce7700af Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Tue, 15 Nov 2011 09:17:27 +0000 Subject: scripts: use adapter_khz not deprecated jtag_khz Change-Id: Ibaeebf564a95360dcf21a0921ec99f5263f11915 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/202 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- tcl/board/at91cap7a-stk-sdram.cfg | 4 ++-- tcl/board/mcb1700.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tcl/board') diff --git a/tcl/board/at91cap7a-stk-sdram.cfg b/tcl/board/at91cap7a-stk-sdram.cfg index 849d8cf2..95f1d06e 100644 --- a/tcl/board/at91cap7a-stk-sdram.cfg +++ b/tcl/board/at91cap7a-stk-sdram.cfg @@ -28,7 +28,7 @@ target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAM $_TARGETNAME configure -event reset-start { # start off real slow when we're running off internal RC oscillator - jtag_khz 32 + adapter_khz 32 } proc peek32 {address} { @@ -78,7 +78,7 @@ $_TARGETNAME configure -event reset-init { echo "Master clock ok." # Now that we're up and running, crank up speed! - global post_reset_khz ; jtag_khz $post_reset_khz + global post_reset_khz ; adapter_khz $post_reset_khz echo "Configuring the SDRAM controller..." diff --git a/tcl/board/mcb1700.cfg b/tcl/board/mcb1700.cfg index 845c7e20..5f3e9e91 100644 --- a/tcl/board/mcb1700.cfg +++ b/tcl/board/mcb1700.cfg @@ -11,7 +11,7 @@ set MCB1700_CCLK $CCLK $_TARGETNAME configure -event reset-start { # Start *real slow* as we do not know the # state the boot rom left the clock in - jtag_khz 10 + adapter_khz 10 } # Set up 100MHz clock to CPU @@ -55,7 +55,7 @@ $_TARGETNAME configure -event reset-init { # # global MCB1700_CCLK - jtag_khz [expr $MCB1700_CCLK / 8] + adapter_khz [expr $MCB1700_CCLK / 8] # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select # "User Flash Mode" where interrupt vectors are _not_ remapped, -- cgit v1.2.3-18-g5258