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

@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
@@ -84,7 +84,7 @@ $_TARGETNAME configure -work-area-phys 0x40300000 -work-area-size 0x4000
# when putting the target into 'reset halt', we need to disable the watchdog as
# it would otherwise trigger while we're in JTAG
# FIXME: unify with target/am437x.cfg
# FIXME: unify with target/ti/am437x.cfg
source [find mem_helper.tcl]
set WDT1_BASE_ADDR 0x44e35000
set WDT1_W_PEND_WSPR [expr {$WDT1_BASE_ADDR + 0x0034}]

View File

@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
source [find mem_helper.tcl]
###############################################################################

View File

@@ -59,7 +59,7 @@ adapter speed 10
# can be read about this module in sprugn4r in chapter 27: "Debug and
# Emulation". The module is used to route the JTAG chain to the various
# subsystems in the chip.
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# The TAP order should be described from the TDO connection in OpenOCD to the
# TDI pin. The OpenOCD FAQ describes this in more detail:

View File

@@ -10,4 +10,4 @@ set CHIPNAME cc13x0
set JRC_TAPID 0x0B9BE02F
set WORKAREASIZE 0x4000
source [find target/ti_cc26x0.cfg]
source [find target/ti/cc26x0.cfg]

View File

@@ -10,4 +10,4 @@ set CHIPNAME cc13x2
set JRC_TAPID 0x0BB4102F
set WORKAREASIZE 0x7000
source [find target/ti_cc26x0.cfg]
source [find target/ti/cc26x0.cfg]

View File

@@ -5,8 +5,8 @@
adapter speed 100
source [find target/icepick.cfg]
source [find target/ti-cjtag.cfg]
source [find target/ti/icepick.cfg]
source [find target/ti/cjtag.cfg]
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME

View File

@@ -6,8 +6,8 @@
# http://www.ti.com
#
source [find target/icepick.cfg]
source [find target/ti-cjtag.cfg]
source [find target/ti/icepick.cfg]
source [find target/ti/cjtag.cfg]
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME

View File

@@ -10,4 +10,4 @@ set CHIPNAME cc26x2
set JRC_TAPID 0x0BB4102F
set WORKAREASIZE 0x7000
source [find target/ti_cc26x0.cfg]
source [find target/ti/cc26x0.cfg]

View File

@@ -10,4 +10,4 @@ set CHIPNAME cc26x2x7
set JRC_TAPID 0x1BB7702F
set WORKAREASIZE 0x7000
source [find target/ti_cc26x0.cfg]
source [find target/ti/cc26x0.cfg]

View File

@@ -7,8 +7,8 @@
#
source [find target/swj-dp.tcl]
source [find target/icepick.cfg]
source [find target/ti_cc32xx.cfg]
source [find target/ti/icepick.cfg]
source [find target/ti/cc32xx.cfg]
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cc3220sf 0 0 0 0 $_TARGETNAME

View File

@@ -8,7 +8,7 @@
#
source [find target/swj-dp.tcl]
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME

View File

@@ -17,7 +17,7 @@ set EMU01 "-disable"
# needing any ICEpick interaction.
#set EMU01 "-enable"
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
#
# Also note: when running without RTCK before the PLLs are set up, you
@@ -80,7 +80,7 @@ dict set dm355 uart0 0x01c20000
dict set dm355 uart1 0x01c20400
dict set dm355 uart2 0x01e06000
source [find target/davinci.cfg]
source [find target/ti/davinci.cfg]
################
# GDB target: the ARM, using SRAM1 for scratch. SRAM0 (also 16K)

View File

@@ -17,7 +17,7 @@ set EMU01 "-disable"
# needing any ICEpick interaction.
#set EMU01 "-enable"
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# Subsidiary TAP: ARM ETB11, with scan chain for 4K of ETM trace buffer
if { [info exists ETB_TAPID] } {
@@ -72,7 +72,7 @@ dict set dm365 a_emif_cs1 0x04000000
dict set dm365 ddr_emif 0x20000000
dict set dm365 ddr 0x80000000
source [find target/davinci.cfg]
source [find target/ti/davinci.cfg]
################
# GDB target: the ARM, using SRAM1 for scratch. SRAM0 (also 16K)

View File

@@ -17,7 +17,7 @@ set EMU01 "-disable"
# needing any ICEpick interaction.
#set EMU01 "-enable"
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# Subsidiary TAP: unknown ... must enable via ICEpick
jtag newtap $_CHIPNAME unknown -irlen 8 -disable

View File

@@ -11,7 +11,7 @@ if { [info exists CHIPNAME] } {
}
# ICEpick-C ... used to route Cortex, DSP, and more not shown here
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# Subsidiary TAP: C64x+ DSP ... must enable via ICEpick
jtag newtap $_CHIPNAME dsp -irlen 38 -ircapture 0x25 -irmask 0x3f -disable

View File

@@ -12,7 +12,7 @@ if { [info exists CHIPNAME] } {
# Although the OMAP4430 supposedly has an ICEpick-D, only the
# ICEpick-C router commands seem to work.
# See http://processors.wiki.ti.com/index.php/ICEPICK
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
#

View File

@@ -12,7 +12,7 @@ if { [info exists CHIPNAME] } {
# Although the OMAP4430 supposedly has an ICEpick-D, only the
# ICEpick-C router commands seem to work.
# See http://processors.wiki.ti.com/index.php/ICEPICK
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
#

View File

@@ -9,7 +9,7 @@ if { [info exists CHIPNAME] } {
set _CHIPNAME omapl138
}
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# Subsidiary TAP: ARM ETB11, with scan chain for 4K of ETM trace buffer
if { [info exists ETB_TAPID] } {

View File

@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-or-later
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]

View File

@@ -15,7 +15,7 @@ if { [info exists ENDIAN] } {
}
# TMS570 has an ICEpick-C on which we need the router commands.
source [find target/icepick.cfg]
source [find target/ti/icepick.cfg]
# Main DAP
# DAP_TAPID should be set before source-ing this file

View File

@@ -3,4 +3,4 @@
set DAP_TAPID 0x0B95A02F
set JRC_TAPID 0x0B95A02F
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]

View File

@@ -5,4 +5,4 @@
set DAP_TAPID 0x0B95502F
set JRC_TAPID 0x0B95502F
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]

View File

@@ -5,4 +5,4 @@
set DAP_TAPID 0x0B7B302F
set JRC_TAPID 0x0B7B302F
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]

View File

@@ -4,4 +4,4 @@
set DAP_TAPID 0x0B8A002F
set JRC_TAPID 0x0B8A002F
source [find target/ti_tms570.cfg]
source [find target/ti/tms570.cfg]