tcl: add SPDX tag
[fw/openocd] / tcl / tools / firmware-recovery.tcl
index 8e017ce5b3cf55d04af4b7c3f2595b5728e918ac..6a328cd2e37291c5ad2033d8d26f9f90d38a5bd3 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 echo "\n\nFirmware recovery helpers"
 echo "Use -c firmware_help to get help\n"
 
@@ -29,7 +31,7 @@ dump_part <name> <filename>   save partition's contents to a file
 erase_part <name>              erase the given partition
 flash_part <name> <filename>   erase, flash and verify the given partition
 ram_boot <filename>            load binary file to RAM and run it
-adapter_khz <freq>             set JTAG clock frequency in kHz
+adapter speed <freq>           set JTAG clock frequency in kHz
 
 For example, to clear nvram and reflash CFE on an RT-N16 using TUMPA, run:
 openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\
@@ -38,8 +40,8 @@ openocd -f interface/ftdi/tumpa.cfg -f tools/firmware-recovery.tcl \\
     shutdown
 }
 
-# set default, can be overriden later
-adapter_khz 1000
+# set default, can be overridden later
+adapter speed 1000
 
 proc get_partition { name } {
     global partition_list