src/flash/nor: flash driver for RSL10
[fw/openocd] / tcl / board / glyn_tonga2.cfg
index 17ed3cf20b1f8e6451b3b81cccfc6b410411a226..d847bec8a893058bd50572520d458eaca9493db7 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Glyn Tonga2 SO-DIMM CPU module (Toshiba TMPA900CMXBG, ARM9)
 #
@@ -19,12 +21,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 +43,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 +199,3 @@ proc tonga2_init { } {
 #######################
 
 # TODO: Implement NAND support.
-