target config files: Fix whitespace issues.
[openocd.git] / tcl / target / u8500.cfg
index 073e01fa480abeded9ef386c52df3137e51b1afa..e1368740ef5592c5a46f7b0ad3eac9b46fd52331 100644 (file)
@@ -15,7 +15,7 @@ proc mmu_on {} {
 }
 
 proc ocd_gdb_restart {target_id} {
-    global  _TARGETNAME_1
+    global _TARGETNAME_1
        global _SMP
     targets $_TARGETNAME_1
        if { [expr ($_SMP == 1)] } {
@@ -29,13 +29,13 @@ proc ocd_gdb_restart {target_id} {
 }
 
 proc smp_reg {} {
-       global  _TARGETNAME_1
-    global  _TARGETNAME_2
+       global _TARGETNAME_1
+    global _TARGETNAME_2
     targets $_TARGETNAME_1 
        echo "$_TARGETNAME_1"
        set pc1 [reg pc]
        set stck1 [reg sp_svc]
-       targets  $_TARGETNAME_2
+       targets $_TARGETNAME_2
        echo "$_TARGETNAME_1"
        set pc2 [reg pc]
        set stck2 [reg sp_svc]
@@ -79,13 +79,13 @@ proc poll_pwrsts { } {
        set result 1
        set i 0
        irscan $_CHIPNAME.jrc 0x3a
-       drscan $_CHIPNAME.jrc 4 0 
-       set pwrsts [drscan $_CHIPNAME.jrc 16 0]    
+       drscan $_CHIPNAME.jrc 4 0
+       set pwrsts [drscan $_CHIPNAME.jrc 16 0]
        set pwrsts [expr (0x$pwrsts & 0xc)]
        while {[string equal "4" $pwrsts] && $i<20} {
                irscan $_CHIPNAME.jrc 0x3a
-               drscan $_CHIPNAME.jrc 4 0; 
-               set pwrsts [drscan $_CHIPNAME.jrc 16 0]    
+               drscan $_CHIPNAME.jrc 4 0;
+               set pwrsts [drscan $_CHIPNAME.jrc 16 0]
                set pwrsts [expr (0x$pwrsts & 0xc)]
                if {![string equal "4" $pwrsts]} {
                        set result 1
@@ -100,7 +100,7 @@ proc poll_pwrsts { } {
 }
 
 proc halt_ { } {
-       if {[poll_pwrsts]==1} { 
+       if {[poll_pwrsts]==1} {
                halt
        } else {
                echo "halt failed : target in retention"
@@ -117,12 +117,12 @@ proc u8500_tapdisable {chip val} {
 
 
 proc enable_apetap {} {
-       global  _CHIPNAME
-       global _TARGETNAME_2 
+       global _CHIPNAME
+       global _TARGETNAME_2
     global _TARGETNAME_1
        poll off
        irscan $_CHIPNAME.jrc 0x3e
-       drscan $_CHIPNAME.jrc 8 0xcf 
+       drscan $_CHIPNAME.jrc 8 0xcf
        jtag tapenable $_CHIPNAME.dap
        irscan $_CHIPNAME.jrc 0x6
        drscan $_CHIPNAME.jrc 32 0
@@ -143,26 +143,26 @@ proc enable_apetap {} {
 tcl_port 5555
 telnet_port 4444
 gdb_port 3333
+
 if { [info exists CHIPNAME] } {        
-global _CHIPNAME 
-    set  _CHIPNAME $CHIPNAME    
+global _CHIPNAME
+    set _CHIPNAME $CHIPNAME
 } else {
-global _CHIPNAME 
-       set  _CHIPNAME u8500
+global _CHIPNAME
+       set _CHIPNAME u8500
 }
 
-if { [info exists ENDIAN] } {  
-       set  _ENDIAN $ENDIAN    
-} else {        
+if { [info exists ENDIAN] } {
+       set _ENDIAN $ENDIAN
+} else {
  # this defaults to a bigendian
-       set  _ENDIAN little
+       set _ENDIAN little
 }
 
 
 
 # Subsidiary TAP: APE with scan chains for ARM Debug, EmbeddedICE-RT,
-if { [info exists CPUTAPID ] } {
+if { [info exists CPUTAPID] } {
    set _CPUTAPID $CPUTAPID
 } else {
        set _CPUTAPID 0x4ba00477
@@ -175,7 +175,7 @@ jtag configure $_CHIPNAME.dap -event tap-disable \
 
 
 #CLTAPC TAP JRC equivalent
-if { [info exists CLTAPC_ID ] } {
+if { [info exists CLTAPC_ID] } {
    set _CLTAPC_ID $CLTAPC_ID
 } else {
    set _CLTAPC_ID 0x22286041
@@ -183,20 +183,20 @@ if { [info exists CLTAPC_ID ] } {
 jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x6 -irmask 0xf -expected-id $_CLTAPC_ID -ignore-version
 
 
-if { ![info exists TARGETNAME_1 ] } {
-global  _TARGETNAME_1
+if { ![info exists TARGETNAME_1] } {
+global _TARGETNAME_1
 set _TARGETNAME_1 $_CHIPNAME.cpu1
 } else {
-global  _TARGETNAME_1
+global _TARGETNAME_1
 set _TARGETNAME_1 $TARGETNAME_1
 }
 
-if { [info exists  DAP_DBG1] } {
+if { [info exists DAP_DBG1] } {
        set _DAP_DBG1 $DAP_DBG1
 } else {
        set _DAP_DBG1 0x801A8000 
 }
-if { [info exists  DAP_DBG2] } {
+if { [info exists DAP_DBG2] } {
        set _DAP_DBG2 $DAP_DBG2
 } else {
        set _DAP_DBG2 0x801AA000 
@@ -209,11 +209,11 @@ $_TARGETNAME_1 configure -event gdb-attach {
 }
 
 
-if { ![info exists TARGETNAME_2 ] } {
-global  _TARGETNAME_2
+if { ![info exists TARGETNAME_2] } {
+global _TARGETNAME_2
 set _TARGETNAME_2 $_CHIPNAME.cpu2
 } else {
-global  _TARGETNAME_2
+global _TARGETNAME_2
 set _TARGETNAME_2 $TARGETNAME_2
 }
 

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)