config files: Drop incorrect comments.
authorUwe Hermann <uwe@hermann-uwe.de>
Sat, 29 Oct 2011 20:58:12 +0000 (22:58 +0200)
committerPeter Stuge <peter@stuge.se>
Sun, 30 Oct 2011 01:57:33 +0000 (01:57 +0000)
There are many "force an error till we get a good number" comments in
target/board files. This refers to the use-case where a config script
sets _CPUTAPID to 0xffffffff (which presumely gets overridden later):

 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
    # Force an error until we get a good number.
    set _CPUTAPID 0xffffffff
 }

However, the same comment was also copy-pasted in many files which do
_not_ set _CPUTAPID to 0xffffffff, where the comment doesn't make any
sense at all. Drop those comments. Also, add one missing comment, and
fix small whitespace and grammar issues.

Change-Id: Ic4ba3b5ccba87ed40cea0d6a7d66609fbdfa3c71
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Reviewed-on: http://openocd.zylin.com/136
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
18 files changed:
tcl/board/at91eb40a.cfg
tcl/board/mini2440.cfg
tcl/target/at91sam7se512.cfg
tcl/target/at91sam9.cfg
tcl/target/avr32.cfg
tcl/target/dsp56321.cfg
tcl/target/dsp568013.cfg
tcl/target/dsp568037.cfg
tcl/target/epc9301.cfg
tcl/target/is5114.cfg
tcl/target/pic32mx.cfg
tcl/target/samsung_s3c2410.cfg
tcl/target/samsung_s3c2440.cfg
tcl/target/samsung_s3c2450.cfg
tcl/target/samsung_s3c6410.cfg
tcl/target/smp8634.cfg
tcl/target/tmpa900.cfg
tcl/target/tmpa910.cfg

index dc5aacbf05fd1bc871aec7d25400bcb67d8415fc..b43dee3d810dc6604f120a4b0e7813f255cb8b55 100644 (file)
@@ -19,7 +19,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x1f0f0f0f
 }
 
index c5adac360fc6e37a899385b98cb54c7147218fa1..a0345387dc8603805c90785c1e0dcd38625263d3 100644 (file)
@@ -100,7 +100,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x0032409d
 }
 
index c48afeffd54027f67b796e96da2612fb35f2b65f..7273a069bc26c49e1392756b983404a89cc7dc58 100644 (file)
@@ -18,7 +18,7 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
+   # Force an error until we get a good number.
    set _CPUTAPID 0xffffffff
 }
 
index ba0197d90b0cc42c2ca5f87dfdef7b04d6014a26..08154ceac77ea6ef077894c8a3c6bd83db4c4ed1 100644 (file)
@@ -17,13 +17,11 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
        set _CPUTAPID $CPUTAPID
 } else {
-       # force an error till we get a good number
        set _CPUTAPID 0x0792603f
 }
 
 reset_config trst_and_srst separate trst_push_pull srst_open_drain
 
-#
 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
 
 adapter_nsrst_delay 300
index 7fe98b2ce4dad3aa212072169097a6e878c2043c..1a2ea330ac6fffec33d384910bc84112071750a8 100644 (file)
@@ -1,7 +1,6 @@
 set  _CHIPNAME avr32
 set  _ENDIAN big
 
-# force an error till we get a good number
 set _CPUTAPID  0x21e8203f
 
 jtag_nsrst_delay 100
index 281c4ddd47215faa486d7fcc01f08d8feade29f5..74279d997bb887e8b1facf639c35b01f884c4180 100644 (file)
@@ -17,7 +17,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x1181501d
 }
 
index 80adc7639445cac243331a1000e59df23a9205e2..2b25ed7e3b06b91c39e42f332accc2f169bc5f21 100644 (file)
@@ -16,7 +16,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x01f2401d
 }
 
index 6089e9d242a49bf517234ccc21c01078ec532ffc..21eb0b70441ad0d77ffa8dbd93de09479fd3dafd 100644 (file)
@@ -16,7 +16,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x01f2801d
 }
 
index d2dc7ecb49efff8a7a166732e59d8fe774246c9a..6b67b9dcabf58f062ffa75bdbc4ced638199362f 100644 (file)
@@ -15,7 +15,7 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
+   # Force an error until we get a good number.
    set _CPUTAPID 0xffffffff
 }
 
index 64c0c8ef63f0046852f52644c77c2a6f57dfd591..56b9b65249a3cd8691a3dd8934e96cfc4dd7dca1 100644 (file)
@@ -18,7 +18,7 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
+   # Force an error until we get a good number.
    set _CPUTAPID 0xffffffff
 }
 
index efffd040b048bfc9b5d387b966832f623477390f..0b3522ee4c1219aa79aa99a091023ad121a4a0c7 100644 (file)
@@ -14,7 +14,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-   # force an error till we get a good number
    set _CPUTAPID 0x30938053
 }
 
index 9682c4c1a5b5c10756a3d38e2d644b36477fb26b..73d3b50039182dbf1c71323febb3b9e897d45e3e 100644 (file)
@@ -16,6 +16,7 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID] } {
    set  _CPUTAPID $CPUTAPID
 } else {
+   # Force an error until we get a good number.
    set  _CPUTAPID 0xffffffff
 }
 
index d3b665ffed3927b4bea5f1687f5db0314c71e6b1..9cd27d1e887e8aba06e3f94a47bc45c687505aaa 100644 (file)
@@ -19,7 +19,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x0032409d
 }
 
index 00754260014702ba05875d25c9e741ef37d7ba82..164fe16993a6aaa46ebc624733cddb4b1672fba4 100644 (file)
@@ -29,7 +29,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
   set _CPUTAPID $CPUTAPID
 } else {
- # force an error till we get a good number
   set _CPUTAPID 0x07926f0f
 }
 
index f9738c237f270e87c52a23eb45fd0916a45cf398..eb95242850a4c72e2e1a8e237fd2cb47b09d2ad0 100644 (file)
@@ -23,14 +23,12 @@ if { [info exists ENDIAN] } {
 if { [info exists ETBTAPID ] } {
    set _ETBTAPID $ETBTAPID
 } else {
-  # force an error till we get a good number
    set _ETBTAPID 0x2b900f0f
 }
 
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x07b76f0f
 }
 
index 4f3959d56dbeb9372a41ad7a3fe1abd98f1070c0..dc9bf0bdc134b2578a9e998046fe6991ed6323b4 100644 (file)
@@ -15,7 +15,6 @@ if { [info exists ENDIAN] } {
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-   # force an error till we get a good number
    set _CPUTAPID 0x08630001
 }
 
index cfb445e63526cf1b0a49b24779d5d2d7810e44c4..dd5d177d5a8fa90034958b8a6d796b7a7e74c71a 100644 (file)
@@ -14,7 +14,6 @@ set _ENDIAN little
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x07926031
 }
 
index 4d4d3fc2189f7888ab46a33cd4dd2ebed70601e1..271ca57d62234ff2e358cca85a35023dc15528c2 100644 (file)
@@ -14,7 +14,6 @@ set _ENDIAN little
 if { [info exists CPUTAPID ] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x07926031
 }