tcl: board: mini2440: fix to work with the current version
[fw/openocd] / tcl / board / mini2440.cfg
index 874f829ab17b1fa54679adec01f5d0831bf8b7c3..85d9a35b9ac4918382cec1d14db7dd109e40ec29 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #-------------------------------------------------------------------------
 # Mini2440 Samsung s3c2440A Processor with 64MB DRAM, 64MB NAND, 2 MB N0R
 # NOTE: Configured for NAND boot (switch S2 in NANDBOOT)
@@ -38,7 +40,7 @@
 #     it's apt-get install libusb-dev.  When I made my config I only included
 #     --enable-jlink and --enable-usbdevs
 #
-#     I HAVE NOT Tested this throughly, so there could still be problems.
+#     I HAVE NOT Tested this thoroughly, so there could still be problems.
 #     But it should get you way ahead of the game from where I started.
 #     If you find problems (and fixes) please post them to
 #     openocd-development@lists.berlios.de and join the developers and
@@ -111,7 +113,7 @@ target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
 $_TARGETNAME configure -work-area-phys 0x40000000  -work-area-size 0x4000 -work-area-backup 1
 
 #reset configuration
-adapter_nsrst_delay 100
+adapter srst delay 100
 jtag_ntrst_delay 100
 reset_config trst_and_srst
 
@@ -120,8 +122,7 @@ reset_config trst_and_srst
 # IMPORTANT! See README at top of this file.
 #-------------------------------------------------------------------------
 
-    adapter_khz 12000
-    jtag interface
+    adapter speed 12000
 
 #-------------------------------------------------------------------------
 # GDB Setup
@@ -140,7 +141,7 @@ reset_config trst_and_srst
 
     nand device s3c2440 0
 
-    adapter_nsrst_delay 100
+    adapter srst delay 100
     jtag_ntrst_delay 100
     reset_config trst_and_srst
     init