tcl/board: add ESP32-S3 config for ESP USB Bridge board
[fw/openocd] / tcl / board / kindle2.cfg
index f32b2a321f20db5928e173401b91c449c84f8321..8c032cb3af5150f2b28002eec900fcb8710de871 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Board configuration file for Amazon Kindle Model No. D00701 and D00801
 # AKA Kindle 2nd generation and Kindle DX
 # using a Freescale MCIMX31LDVKN5D i.MX31 processor
@@ -18,7 +20,7 @@ source [find target/imx31.cfg]
 source [find target/imx.cfg]
 
 $_TARGETNAME configure -event reset-init { kindle2_init }
-$_TARGETNAME configure -event reset-start { adapter_khz 1000 }
+$_TARGETNAME configure -event reset-start { adapter speed 1000 }
 
 # 8MiB NOR Flash
 set _FLASHNAME $_CHIPNAME.flash
@@ -36,8 +38,8 @@ jtag_ntrst_delay 30
 # this is broken but enabled by default
 arm11 memwrite burst disable
 
-adapter_khz 1000
-ftdi_tdo_sample_edge falling
+adapter speed 1000
+ftdi tdo_sample_edge falling
 
 proc kindle2_init {} {
        imx3x_reset
@@ -162,7 +164,7 @@ proc kindle2_sdram_init {} {
        # LPDDR1 Initialization script
        mww 0xb8001010 0x00000002
        mww 0xb8001010 0x00000004
-       # ESDCFG0: set timing paramters
+       # ESDCFG0: set timing parameters
        mww 0xb8001004 0x007fff7f
        # ESDCTL0: select Prechare-All mode
        mww 0xb8001000 0x92100000