tcl/target: Move TI targets to ti folder

Move the ti targets to a TI folder. Since the folder is ti, we can
drop the "ti" prefix from the files themselves.

Done via the following script:

 mkdir target/ti
 FILES=`ls target/ti*.cfg target/omap*.cfg target/am335x.cfg
           target/amdm37x.cfg target/icepick.cfg target/stellaris.cfg
		   target/davinci.cfg`
 for cname in $FILES
 do
   bname=`basename $cname`
   nname=`echo $bname|sed -e "s/^ti-//g"|sed -e "s/ti_//g"`
   npath="target/ti/$nname"
   echo "$cname => $npath"
   fref=`git grep $cname .|cut -d ':' -f1|sort -u`
   sed -i -e "s&$cname&$npath&g" $fref
   git mv $cname $npath
 done

Change-Id: I9f94dc6bb01f73721d4ff96be92cb51de2cbf0e2
Suggested-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9203
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Nishanth Menon
2025-11-03 11:02:57 -06:00
committed by Antonio Borneo
parent 5479c58d23
commit 2f8ddc0835
105 changed files with 101 additions and 101 deletions

View File

@@ -13,7 +13,7 @@
# http://processors.wiki.ti.com/index.php?title=How_to_Find_the_Silicon_Revision_of_your_OMAP35x
set CHIPTYPE "am35x"
source [find target/amdm37x.cfg]
source [find target/ti/amdm37x.cfg]
# The TI-14 JTAG connector does not have srst. CPU reset is handled in
# hardware.

View File

@@ -4,7 +4,7 @@
# http://focus.ti.com/dsp/docs/thirdparty/catalog/devtoolsproductfolder.tsp?actionPerformed=productFolder&productId=5939
# http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit
source [find target/omapl138.cfg]
source [find target/ti/omapl138.cfg]
reset_config trst_and_srst separate

View File

@@ -4,7 +4,7 @@
# http://focus.ti.com/docs/toolsw/folders/print/tmdsevm355.html
# http://c6000.spectrumdigital.com/evmdm355/
source [find target/ti_dm355.cfg]
source [find target/ti/dm355.cfg]
reset_config trst_and_srst separate

View File

@@ -4,7 +4,7 @@
# http://focus.ti.com/docs/toolsw/folders/print/tmdxevm365.html
# http://support.spectrumdigital.com/boards/evmdm365
source [find target/ti_dm365.cfg]
source [find target/ti/dm365.cfg]
# NOTE: in Rev C boards, the CPLD ignores SRST from the ARM-20 JTAG
# connector, so it doesn't affect generation of the reset signal.

View File

@@ -6,7 +6,7 @@
# EVM is just the board; buy that at Spectrum.
# The "kit" from TI also has: video camera, LCD video monitor, more.
source [find target/ti_dm6446.cfg]
source [find target/ti/dm6446.cfg]
# J4 controls what CS2 hooks up to, usually NOR or NAND flash.
# S3.1/S3.2 controls boot mode, which may force J4 and S3.3 settings.

View File

@@ -18,4 +18,4 @@ source [find interface/ftdi/luminary.cfg]
# include the target config
set WORKAREASIZE 0x2000
set CHIPNAME lm3s1968
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -13,4 +13,4 @@ source [find interface/ftdi/luminary.cfg]
# 20k working area
set WORKAREASIZE 0x4000
set CHIPNAME lm3s3748
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -14,4 +14,4 @@ source [find interface/ftdi/luminary.cfg]
set WORKAREASIZE 0x5000
set CHIPNAME lm3s6965
# include the target config
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -13,4 +13,4 @@ source [find interface/ftdi/luminary-lm3s811.cfg]
# include the target config
set WORKAREASIZE 0x2000
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -14,4 +14,4 @@ source [find interface/ftdi/luminary.cfg]
# include the target config
set WORKAREASIZE 0x2000
set CHIPNAME lm3s811
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -14,4 +14,4 @@ source [find interface/ftdi/luminary.cfg]
set WORKAREASIZE 0x10000
set CHIPNAME lm3s8962
# include the target config
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -13,4 +13,4 @@ source [find interface/ftdi/luminary-icdi.cfg]
set WORKAREASIZE 0x4000
set CHIPNAME lm3s9b9x
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -13,4 +13,4 @@ source [find interface/ftdi/luminary-icdi.cfg]
# 64k working area
set WORKAREASIZE 0x10000
set CHIPNAME lm3s9d92
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -16,4 +16,4 @@ transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME lm4f120h5qr
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -16,4 +16,4 @@ transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME lm4f23x
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -22,7 +22,7 @@ set partition_list {
adam2env { "Adam2 environment" 0x903f0000 0x00010000 }
}
source [find target/ti-ar7.cfg]
source [find target/ti/ar7.cfg]
# External 4MB MXIC 29LV320MBTC Flash (Manufacturer/Device: 0x00c2 0x227e)
set _FLASHNAME $_CHIPNAME.flash

View File

@@ -12,7 +12,7 @@ set partition_list {
config { "Bootloader config space" 0x903f0000 0x00010000 }
}
source [find target/ti-ar7.cfg]
source [find target/ti/ar7.cfg]
# External 16MB SDRAM - disabled as we use internal sram
#$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 0x00001000

View File

@@ -2,7 +2,7 @@
# OMAP2420 SDP board ("H4")
source [find target/omap2420.cfg]
source [find target/ti/omap2420.cfg]
# NOTE: this assumes you're *NOT* using a TI-14 connector.
reset_config trst_and_srst separate

View File

@@ -2,7 +2,7 @@
# http://omap.spectrumdigital.com/osk5912/
source [find target/omap5912.cfg]
source [find target/ti/omap5912.cfg]
# NOTE: this assumes you're using the ARM 20-pin ("Multi-ICE")
# JTAG connector, and accordingly have J1 connecting pins 1 & 2.

View File

@@ -6,7 +6,7 @@
# more information can be found on
# http://bb.osmocom.org/trac/wiki/SonyEricssonJ100i
#
source [find target/ti_calypso.cfg]
source [find target/ti/calypso.cfg]
# external flash

View File

@@ -7,4 +7,4 @@ source [find interface/xds110.cfg]
transport select jtag
source [find target/ti_tms570ls1x.cfg]
source [find target/ti/tms570ls1x.cfg]

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am243
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am261
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am263
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am263p
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am273
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -7,6 +7,6 @@
#
jtag_rclk 6000
source [find target/am335x.cfg]
source [find target/ti/am335x.cfg]
reset_config trst_and_srst

View File

@@ -8,7 +8,7 @@ source [find interface/ftdi/xds100v2.cfg]
transport select jtag
adapter speed 30000
source [find target/am437x.cfg]
source [find target/ti/am437x.cfg]
$_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 }
reset_config trst_and_srst

View File

@@ -4,6 +4,6 @@
transport select jtag
adapter speed 16000
source [find target/am437x.cfg]
source [find target/ti/am437x.cfg]
reset_config trst_and_srst

View File

@@ -20,4 +20,4 @@ if { ![info exists SOC] } {
set SOC am625
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am625
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -20,4 +20,4 @@ if { ![info exists SOC] } {
set SOC am62a7
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am62a7
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC am62l
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -20,4 +20,4 @@ if { ![info exists SOC] } {
set SOC am62p
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC am62p
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC am642
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 250

View File

@@ -20,4 +20,4 @@ if { ![info exists SOC] } {
set SOC am642
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC am654
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -6,7 +6,7 @@
# Fall back to 6MHz if RTCK is not supported
jtag_rclk 6000
source [find target/omap3530.cfg]
source [find target/ti/omap3530.cfg]
# TI-14 JTAG connector
reset_config trst_only

View File

@@ -4,7 +4,7 @@
# http://beagleboard.org
set CHIPTYPE "dm37x"
source [find target/amdm37x.cfg]
source [find target/ti/amdm37x.cfg]
# The TI-14 JTAG connector does not have srst. CPU reset is handled in
# hardware.

View File

@@ -3,4 +3,4 @@
# AM335x Beaglebone family base configuration
# http://beagleboard.org/bone
source [find target/am335x.cfg]
source [find target/ti/am335x.cfg]

View File

@@ -2,6 +2,6 @@
jtag_rclk 6000
source [find target/omap4430.cfg]
source [find target/ti/omap4430.cfg]
reset_config trst_and_srst

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
transport select jtag
adapter speed 5500
source [find target/ti_cc13x0.cfg]
source [find target/ti/cc13x0.cfg]

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 5500
transport select jtag
source [find target/ti_cc13x2.cfg]
source [find target/ti/cc13x2.cfg]

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 5500
transport select jtag
source [find target/ti_cc26x0.cfg]
source [find target/ti/cc26x0.cfg]

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 5500
transport select jtag
source [find target/ti_cc26x2.cfg]
source [find target/ti/cc26x2.cfg]

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 5500
transport select jtag
source [find target/ti_cc26x2x7.cfg]
source [find target/ti/cc26x2x7.cfg]

View File

@@ -17,7 +17,7 @@ if { [info exists TRANSPORT] } {
adapter speed 2500
set WORKAREASIZE 0x40000
source [find target/ti_cc32xx.cfg]
source [find target/ti/cc32xx.cfg]
reset_config srst_only
adapter srst delay 1100

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 8500
transport select swd
source [find target/ti_cc3220sf.cfg]
source [find target/ti/cc3220sf.cfg]

View File

@@ -6,7 +6,7 @@
source [find interface/xds110.cfg]
adapter speed 8500
transport select swd
source [find target/ti_cc32xx.cfg]
source [find target/ti/cc32xx.cfg]
reset_config srst_only
adapter srst delay 1100

View File

@@ -13,4 +13,4 @@ transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c129xnczad
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -12,4 +12,4 @@ transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c123gh6pm
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -13,4 +13,4 @@ transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c1294ncpdt
source [find target/stellaris.cfg]
source [find target/ti/stellaris.cfg]

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC j7200
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -19,4 +19,4 @@ transport select swd
if { ![info exists SOC] } {
set SOC j721e
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC j721e
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC j721s2
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -21,4 +21,4 @@ if { ![info exists SOC] } {
set SOC j722s
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -19,6 +19,6 @@ if { ![info exists SOC] } {
set SOC j722s
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -19,4 +19,4 @@ transport select swd
if { ![info exists SOC] } {
set SOC j784s4
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]

View File

@@ -20,6 +20,6 @@ if { ![info exists SOC] } {
set SOC j784s4
}
source [find target/ti_k3.cfg]
source [find target/ti/k3.cfg]
adapter speed 2500

View File

@@ -6,4 +6,4 @@
source [find interface/xds110.cfg]
adapter speed 10000
transport select swd
source [find target/ti_msp432.cfg]
source [find target/ti/msp432.cfg]

View File

@@ -11,4 +11,4 @@
source [find interface/xds110.cfg]
adapter speed 10000
source [find target/ti_mspm0.cfg]
source [find target/ti/mspm0.cfg]

View File

@@ -2,6 +2,6 @@
jtag_rclk 6000
source [find target/omap4430.cfg]
source [find target/ti/omap4430.cfg]
reset_config trst_only

View File

@@ -2,6 +2,6 @@
jtag_rclk 6000
source [find target/omap4460.cfg]
source [find target/ti/omap4460.cfg]
reset_config trst_only

View File

@@ -8,7 +8,7 @@
source [find interface/ftdi/xds100v2.cfg]
# Processor is TMS570LS20216
source [find target/ti_tms570ls20xxx.cfg]
source [find target/ti/tms570ls20xxx.cfg]
reset_config trst_only

View File

@@ -3,6 +3,6 @@
adapter speed 1500
source [find interface/ftdi/xds100v2.cfg]
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]
reset_config trst_only