--- /dev/null
+#xscale ixp42x CPU\r
+\r
+\r
+if { [info exists CHIPNAME] } { \r
+ set _CHIPNAME $CHIPNAME \r
+} else { \r
+ set _CHIPNAME ixp42x\r
+}\r
+\r
+if { [info exists ENDIAN] } { \r
+ set _ENDIAN $ENDIAN \r
+} else { \r
+ # this defaults to a bigendian\r
+ set _ENDIAN big\r
+}\r
+\r
+if { [info exists CPUTAPID ] } {\r
+ set _CPUTAPID $CPUTAPID\r
+} else {\r
+ # force an error till we get a good number\r
+ set _CPUTAPID 0xffffffff\r
+}\r
+\r
+#use combined on interfaces or targets that can?t set TRST/SRST separately\r
+reset_config srst_only srst_pulls_trst\r
+#jtag scan chain\r
+\r
+jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID\r
+\r
+set _TARGETNAME [format "%s.cpu" $_CHIPNAME]\r
+target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x\r
+\r
-# This is for the LinkSys (CYSCO) LSLU2 board
-# It is an Intel XSCALE IPX420 CPU.
+# This is for the LinkSys (CISCO) NSLU2 board
+# It is an Intel XSCALE IXP420 CPU.
-source [find target/ipx42x.cfg]
+source [find target/ixp42x.cfg]
# The _TARGETNAME is set by the above.
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00020000 -work-area-size 0x10000 -work-area-backup 0
+++ /dev/null
-#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
-