-#\r
-# Keil MCB2140 eval board\r
-#\r
-# http://www.keil.com/mcb2140/picture.asp\r
-#\r
-\r
-source [find target/lpc2148.cfg]\r
-\r
+#
+# Keil MCB2140 eval board
+#
+# http://www.keil.com/mcb2140/picture.asp
+#
+
+source [find target/lpc2148.cfg]
+
-#\r
-# Olimex LPC-H2148 eval board\r
-#\r
-# http://www.olimex.com/dev/lpc-h2148.html\r
-#\r
-\r
-source [find target/lpc2148.cfg]\r
-\r
+#
+# Olimex LPC-H2148 eval board
+#
+# http://www.olimex.com/dev/lpc-h2148.html
+#
+
+source [find target/lpc2148.cfg]
+
-#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
+#xscale ixp42x CPU
+
+
+if { [info exists CHIPNAME] } {
+ set _CHIPNAME $CHIPNAME
+} else {
+ set _CHIPNAME ixp42x
+}
+
+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 ixp42x
+