jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / tcl / board / dm365evm.cfg
index 8f268c4551c22140178bebb7e9b61bf8738e2faa..15db24c204306e9bf73c79b68d60a6306beb2790 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # DM365 EVM board -- Beta
 #   http://focus.ti.com/docs/toolsw/folders/print/tmdxevm365.html
 #   http://support.spectrumdigital.com/boards/evmdm365
@@ -56,10 +58,10 @@ if { $CS0 == "NAND" } {
                #set nand_timings 0x0400008c
 
                # CS0 == socketed NAND (default MT29F16G08FAA, 2 GBytes)
-               mww [expr $a_emif + 0x10] $nand_timings
+               mww [expr {$a_emif + 0x10}] $nand_timings
 
                # NANDFCR -- CS0 has NAND
-               mww [expr $a_emif + 0x60] 0x01
+               mww [expr {$a_emif + 0x60}] 0x01
        }
        proc flashprobe {} {
                nand probe 0
@@ -80,10 +82,10 @@ if { $CS0 == "NAND" } {
                davinci_pinmux $dm365 2 0x00000055
 
                # CS0 == OneNAND (KFG1G16U2B-DIB6, 128 KBytes)
-               mww [expr $a_emif + 0x10] 0x00000001
+               mww [expr {$a_emif + 0x10}] 0x00000001
 
                # ONENANDCTRL -- CS0 has OneNAND, enable sync reads
-               mww [expr $a_emif + 0x5c] 0x0441
+               mww [expr {$a_emif + 0x5c}] 0x0441
        }
        proc flashprobe {} { }
 }
@@ -103,7 +105,7 @@ proc dm365evm_init {} {
        echo "Initialize DM365 EVM board"
 
        # CLKIN = 24 MHz ... can't talk quickly to ARM yet
-       adapter_khz 1500
+       adapter speed 1500
 
        # FIXME -- PLL init
 
@@ -133,15 +135,13 @@ proc dm365evm_init {} {
        set a_emif [dict get $dm365 a_emif]
 
        # AWCCR
-       mww [expr $a_emif + 0x04] 0xff
+       mww [expr {$a_emif + 0x04}] 0xff
        # CS0 == NAND or OneNAND
        cs0_setup $a_emif
        # CS1 == CPLD
-       mww [expr $a_emif + 0x14] 0x00a00505
+       mww [expr {$a_emif + 0x14}] 0x00a00505
 
        # FIXME setup UART0
 
        flashprobe
 }
-
-

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)