From: <oh...@ma...> - 2009-02-22 18:01:19
|
Author: oharboe Date: 2009-02-22 18:01:16 +0100 (Sun, 22 Feb 2009) New Revision: 1378 Added: trunk/src/target/target/pxi42x.cfg Removed: trunk/src/target/target/ipx42x.cfg Log: John Woods <jo...@gm...> fix newtap gaffe + rename Deleted: trunk/src/target/target/ipx42x.cfg =================================================================== --- trunk/src/target/target/ipx42x.cfg 2009-02-19 18:52:46 UTC (rev 1377) +++ trunk/src/target/target/ipx42x.cfg 2009-02-22 17:01:16 UTC (rev 1378) @@ -1,32 +0,0 @@ -#xscale ixp42x CPU - - -if { [info exists CHIPNAME] } { - set _CHIPNAME $CHIPNAME -} else { - set _CHIPNAME ipx42x -} - -if { [info exists ENDIAN] } { - set _ENDIAN $ENDIAN -} else { - # this defaults to a bigendian - set _ENDIAN big -} - -if { [info exists CPUTAPID ] } { - set _CPUTAPID $CPUTAPID -} else { - # force an error till we get a good number - set _CPUTAPID 0xffffffff -} - -#use combined on interfaces or targets that can?t set TRST/SRST separately -reset_config srst_only srst_pulls_trst -#jtag scan chain - -jtag newtap $_CPUNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID - -set _TARGETNAME [format "%s.cpu" $_CHIPNAME] -target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ipxP42x - Copied: trunk/src/target/target/pxi42x.cfg (from rev 1377, trunk/src/target/target/ipx42x.cfg) =================================================================== --- trunk/src/target/target/ipx42x.cfg 2009-02-19 18:52:46 UTC (rev 1377) +++ trunk/src/target/target/pxi42x.cfg 2009-02-22 17:01:16 UTC (rev 1378) @@ -0,0 +1,32 @@ +#xscale ixp42x CPU + + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME ipx42x +} + +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { + # this defaults to a bigendian + set _ENDIAN big +} + +if { [info exists CPUTAPID ] } { + set _CPUTAPID $CPUTAPID +} else { + # force an error till we get a good number + set _CPUTAPID 0xffffffff +} + +#use combined on interfaces or targets that can?t set TRST/SRST separately +reset_config srst_only srst_pulls_trst +#jtag scan chain + +jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID + +set _TARGETNAME [format "%s.cpu" $_CHIPNAME] +target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ipxP42x + |