TCL/SPEAr: Join two initialization files.
[fw/openocd] / tcl / board / at91eb40a.cfg
index 14f21a1ac37cc3970abacfaf7d41b8e7f3f774b3..8b05873168c343b2aa4ad82766e8ba4b67fe0319 100644 (file)
@@ -16,10 +16,9 @@ if { [info exists ENDIAN] } {
    set  _ENDIAN little
 }
 
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
-  # force an error till we get a good number
    set _CPUTAPID 0x1f0f0f0f
 }
 
@@ -53,7 +52,7 @@ flash bank $_FLASHNAME ecosflash 0x01000000 0x200000 2 2 $_TARGETNAME ecos/at91e
 $_TARGETNAME configure -work-area-phys 0x00030000 -work-area-size 0x10000 -work-area-backup 0
 
 $_TARGETNAME configure -event reset-init {
-       puts "Running reset init script for AT91EB40A"
+       echo "Running reset init script for AT91EB40A"
        # Reset script for AT91EB40a
        reg cpsr 0x000000D3
        mww 0xFFE00020 0x1