target/board: Add Ampere QS|MQ config files
[fw/openocd] / tcl / board / glyn_tonga2.cfg
index 17ed3cf20b1f8e6451b3b81cccfc6b410411a226..f48702ca6731497493c28aa25ca7a4dede050641 100644 (file)
@@ -19,12 +19,12 @@ source [find target/tmpa900.cfg]
 # Initial JTAG speed should not exceed 1/6 of the initial CPU clock
 # frequency (24MHz). Be conservative and use 1/8 of the frequency.
 # (24MHz / 8 = 3MHz)
-adapter_khz 3000
+adapter speed 3000
 
 $_TARGETNAME configure -event reset-start {
        # Upon reset, set the JTAG frequency to 3MHz again, see above.
        echo "Setting JTAG speed to 3MHz until clocks are initialized."
-       adapter_khz 3000
+       adapter speed 3000
 
        # Halt the CPU.
        halt
@@ -41,7 +41,7 @@ $_TARGETNAME configure -event reset-init {
        # Tests showed that 15MHz works OK, higher speeds can cause problems,
        # though. Not sure if this is a CPU issue or JTAG adapter issue.
        echo "Increasing JTAG speed to 15MHz."
-       adapter_khz 15000
+       adapter speed 15000
 
        # Enable faster memory access.
        arm7_9 fast_memory_access enable
@@ -197,4 +197,3 @@ proc tonga2_init { } {
 #######################
 
 # TODO: Implement NAND support.
-