scripts: use adapter_khz not deprecated jtag_khz
[fw/openocd] / tcl / board / at91cap7a-stk-sdram.cfg
index 849d8cf2b9ae44f30c7e171a9f3919c5533b7dc7..95f1d06e2c9c4c9da120f8c18d140ed0bd3a440d 100644 (file)
@@ -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..."