tcl: ngultra: add target config file
[fw/openocd] / tcl / board / lubbock.cfg
index 32af386ec8f8f595addf8e44715c450138065670..e4de385a4f3f5df115a6ad60572ad1279e44b9f7 100644 (file)
@@ -1,10 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Intel "Lubbock" Development Board with PXA255 (dbpxa255)
 #  Obsolete; this was Intel's original PXA255 development system
 #  Board also had CPU cards for SA1100, PXA210, PXA250, and more.
 
 source [find target/pxa255.cfg]
 
-jtag_nsrst_delay 250
+adapter srst delay 250
 jtag_ntrst_delay 250
 
 # NOTE: until after pinmux and such are set up, only CS0 is
@@ -12,9 +14,9 @@ jtag_ntrst_delay 250
 
 # CS0, CS1 -- two banks of CFI flash, 32 MBytes each
 # each bank is 32-bits wide, two 16-bit chips in parallel
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash0
 flash bank $_FLASHNAME cfi 0x00000000 0x02000000 2 4 $_TARGETNAME
-set _FLASHNAME $_CHIPNAME.flash
+set _FLASHNAME $_CHIPNAME.flash1
 flash bank $_FLASHNAME cfi 0x04000000 0x02000000 2 4 $_TARGETNAME
 
 # CS2 low -- FPGA registers
@@ -38,7 +40,7 @@ proc hexled {u32} {
 
 proc lubbock_init {target} {
 
-       puts "Initialize PXA255 Lubbock board"
+       echo "Initialize PXA255 Lubbock board"
 
        # (1) pinmux