more tcl/{board,target} cleanup
Remove more remnants of the old "jtag_device" syntax. Don't [format "%s.cpu" $_CHIPNAME] ... it's needless complexity. Remove various non-supported "-variant" target options; they're not needed often at all. Flag some of the board files as needing to have and use target files for the TAP and target declarations. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
@@ -10,7 +10,7 @@ set CHIPNAME ar71xx
|
||||
|
||||
jtag newtap $CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 1
|
||||
|
||||
set TARGETNAME [format "%s.cpu" $CHIPNAME]
|
||||
set TARGETNAME $CHIPNAME.cpu
|
||||
target create $TARGETNAME mips_m4k -endian big -chain-position $TARGETNAME
|
||||
|
||||
$TARGETNAME configure -event reset-halt-post {
|
||||
|
||||
@@ -35,7 +35,7 @@ jtag newtap $_CHIPNAME dsp -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_D
|
||||
# Per ARM: DDI0211J_arm1136_r1p5_trm.pdf - the ARM 1136 as a 5 bit IR register
|
||||
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
|
||||
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
# C100's ARAM 64k SRAM
|
||||
|
||||
@@ -29,7 +29,7 @@ if { [info exists ETBTAPID ] } {
|
||||
reset_config trst_and_srst separate
|
||||
|
||||
# Define the _TARGETNAME
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
# Include the ETB tap controller if asked for.
|
||||
# Has to be done manually for newer devices (not an "old" LPC2917/2919).
|
||||
|
||||
@@ -39,8 +39,8 @@ jtag_ntrst_delay 20
|
||||
# Target configuration
|
||||
######################
|
||||
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
# built-in RAM0
|
||||
#working_area 0 0xf8004000 0x4000 nobackup
|
||||
|
||||
@@ -39,8 +39,8 @@ jtag_ntrst_delay 20
|
||||
# Target configuration
|
||||
######################
|
||||
|
||||
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
|
||||
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
# built-in RAM0
|
||||
#working_area 0 0xf8004000 0x4000 nobackup
|
||||
|
||||
Reference in New Issue
Block a user