tcl: fix some minor typo 14/6214/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 28 Jan 2021 11:27:53 +0000 (12:27 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 May 2021 09:06:26 +0000 (10:06 +0100)
Minor typos found by the new checkpatch boosted by the dictionary
provided by 'codespell'.
While there, fix one indentation.

Change-Id: I72369ed26f363bacd760b40b8c83dd95e89d28a4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6214
Tested-by: jenkins
13 files changed:
tcl/bitsbytes.tcl
tcl/board/arm_evaluator7t.cfg
tcl/board/at91sam9g20-ek.cfg
tcl/board/digilent_atlys.cfg
tcl/board/hitex_lpc2929.cfg
tcl/board/mini2440.cfg
tcl/board/uptech_2410.cfg
tcl/interface/ftdi/swd-resistor-hack.cfg
tcl/target/c100config.tcl
tcl/target/c100helper.tcl
tcl/target/davinci.cfg
tcl/target/lpc8nxx.cfg
tcl/target/psoc4.cfg

index 01cc509261875786712749e9ff918552f0f61c9b..756c725df6d95bfd1a20eb4d879ee3840b5d29fe 100644 (file)
@@ -2,7 +2,7 @@
 # Purpose - Create some $BIT variables
 #           Create $K and $M variables
 #          and some bit field extraction variables.
-# Creat helper variables ...
+# Create helper variables ...
 #    BIT0.. BIT31
 
 for { set x 0  } { $x < 32 } { set x [expr {$x + 1}]} {
index 96d859cd3bbb41cf65ad9e4cb54747e4d6810423..ef4b7821f9bfdf210cfe6ccfeef59c29bcc5f684 100644 (file)
@@ -5,5 +5,5 @@ source [find target/samsung_s3c4510.cfg]
 #
 # FIXME:
 #  Add (A) sdram configuration
-#  Add (B) flash cfi programing configuration
+#  Add (B) flash cfi programming configuration
 #
index 59ee4d2a38b91d9e6b071c6082d1a772e4e0b2d2..e1cbb91204c796da63145cb0f7568aa68f384a5c 100644 (file)
@@ -153,7 +153,7 @@ proc at91sam9g20_reset_init { } {
 
        nand probe nandflash_cs3
 
-       # The AT91SAM9G20-EK evaluation board has build-in serial data flash also.
+       # The AT91SAM9G20-EK evaluation board has built-in serial data flash also.
 
        # Now setup SDRAM.  This is tricky and configuration is very important for reliability!  The current calculations
        # are based on 2 x Micron MT48LC16M16A2-75 memory (4 M x 16 bit x 4 banks).  If you use this file as a reference
index f298e3d73d56c67888d2bbd7e0fbfd9b52d4282c..3eb6219fde39f39eaba12febd18b5d4da0f0f305 100644 (file)
@@ -5,7 +5,7 @@
 #   ID 1443:0007 Digilent Development board JTAG
 #
 # However, the ixo-usb-jtag project provides an alternative open firmware for
-# the on board programmer. When using thie firmware the board will then
+# the on board programmer. When using this firmware the board will then
 # enumerate as:
 #   ID 16c0:06ad Van Ooijen Technische Informatica
 # (With SerialNumber == hw_nexys)
index 2fe1f3cdae01490aeba0a46a68de2ee93e83cf4c..8268306695592dc02a7d3485f16caaea005a488f 100644 (file)
@@ -34,7 +34,7 @@ flash bank $_FLASHNAME cfi 0x5C000000 0x400000 2 2 $_TARGETNAME jedec_probe
 
 $_TARGETNAME configure -event reset-init {
   # Flash
-  mww 0x20200010 0x00000007     ;# FBWST: 7 wait states, not chached
+  mww 0x20200010 0x00000007     ;# FBWST: 7 wait states, not cached
 
   # Use PLL
   mww 0xFFFF8020 0x00000001     ;# XTAL_OSC_CONTROL: enable, 1-20 MHz
index 9dca5a37c9cafd87d9b6fe1ec03d5878da07a7b1..3d01b38a27a70e708b88e9a8e3aa46bbec4aab62 100644 (file)
@@ -38,7 +38,7 @@
 #     it's apt-get install libusb-dev.  When I made my config I only included
 #     --enable-jlink and --enable-usbdevs
 #
-#     I HAVE NOT Tested this throughly, so there could still be problems.
+#     I HAVE NOT Tested this thoroughly, so there could still be problems.
 #     But it should get you way ahead of the game from where I started.
 #     If you find problems (and fixes) please post them to
 #     openocd-development@lists.berlios.de and join the developers and
index 227cf42f6b355fa6664ad93e55a6395d655525e5..0a2c475f718ca0361edd5a940ea8933ffc7da66f 100644 (file)
@@ -1,5 +1,5 @@
 # Target Configuration for the Uptech 2410 board.
-# This configuration hould also work on smdk2410, but I havn't tested it yet.
+# This configuration should also work on smdk2410, but I haven't tested it yet.
 # Author: xionglingfeng@Gmail.com
 
 source [find target/samsung_s3c2410.cfg]
index 04f3a73975782174f0e218c3ab528809348b0885..26eb44c5f659c9feb40d8cb423e2c5d27735272d 100644 (file)
@@ -5,7 +5,7 @@
 #
 # You also need to have reliable GND connection between the target and
 # adapter. Vref of the adapter should be supplied with a voltage equal
-# to the target's (preferrably connect it to Vcc). You can also
+# to the target's (preferably connect it to Vcc). You can also
 # optionally connect nSRST. Leave everything else unconnected.
 #
 # FTDI                          Target
index f252360c5a938ebed758326209f5e18c32083aa5..e9372195a42377a586f9ec2d2d88969c9e99f256 100644 (file)
@@ -43,7 +43,7 @@ proc setupTelo {} {
 
     # setup GPIO used as control signals for C100
     setupGPIO
-    # This will allow acces to lower 8MB or NOR
+    # This will allow access to lower 8MB or NOR
     lowGPIO5
     # setup NOR size,timing,etc.
     setupNOR
@@ -79,7 +79,7 @@ proc setupNOR {} {
     #mww $EX_CS0_TMG3_REG
     # set EBUS clock 165/5=33MHz
     mww $EX_CLOCK_DIV_REG 0x5
-    # everthing else is OK with default
+    # everything else is OK with default
 }
 
 proc bootNOR {} {
@@ -159,7 +159,7 @@ proc boardID {id} {
 proc ooma_board_detect {} {
     set GPIO_BOOTSTRAP_REG     [regs GPIO_BOOTSTRAP_REG]
 
-    # read the current value of the BOOTSRAP pins
+    # read the current value of the BOOTSTRAP pins
     set tmp [mrw $GPIO_BOOTSTRAP_REG]
     echo [format "GPIO_BOOTSTRAP_REG  (0x%x): 0x%x" $GPIO_BOOTSTRAP_REG $tmp]
     # extract the GPBP bits
index 2199b7afd9f9e7c9a7530708b19f5beb424dc66f..bdcfd8cf5e1e425739cffb25332f1ba26949c278 100644 (file)
@@ -13,16 +13,16 @@ proc helpC100 {} {
     echo "10) showArmClk:        will show current config registers for Arm Bus Clock"
     echo "11) setupArmClk:       will setup Amba Bus Clock=450MHz"
     echo "12) ooma_board_detect: will show which version of Telo you have"
-    echo "13) setupDDR2:         will configure DDR2 controller, you must have PLLs configureg"
+    echo "13) setupDDR2:         will configure DDR2 controller, you must have PLLs configured"
     echo "14) showDDR2:          will show DDR2 config registers"
     echo "15) showWatchdog:      will show current register config for watchdog"
     echo "16) reboot:            will trigger watchdog and reboot Telo (hw reset)"
     echo "17) bootNOR:           will boot Telo from NOR"
-    echo "18) setupUART0:        will configure UART0 for 115200 8N1, PLLs have to be confiured"
+    echo "18) setupUART0:        will configure UART0 for 115200 8N1, PLLs have to be configured"
     echo "19) putcUART0:         will print a character on UART0"
     echo "20) putsUART0:         will print a string on UART0"
-    echo "21) trainDDR2:          will run DDR2 training program"
-    echo "22) flashUBOOT:        will prgram NOR sectors 0-3 with u-boot.bin"
+    echo "21) trainDDR2:         will run DDR2 training program"
+    echo "22) flashUBOOT:        will program NOR sectors 0-3 with u-boot.bin"
 }
 
 source [find mem_helper.tcl]
index d2ed5928b7f0f46cf254234f5d8ee4617a2498e4..5ca54aed411dfcb0160c010db39ce6634aebdb02 100644 (file)
@@ -267,7 +267,7 @@ proc pll_v03_setup {pll_addr mult config} {
        if {$aln != 0} {
                # clear pllcmd.GO
                mww [expr {$pll_addr + 0x0138}] 0x00
-               # write alingment flags
+               # write alignment flags
                mww [expr {$pll_addr + 0x0140}] $aln
                # write pllcmd.GO; poll pllstat.GO
                mww [expr {$pll_addr + 0x0138}] 0x01
index 1bc77b20d1af1860df0f7cb4045bc61ce5dec928..4db78cbfcbc01fb52f5517834acfb3ebdf2ccc34 100644 (file)
@@ -56,7 +56,7 @@ proc set_sysclk_500khz {} {
        echo "Notice: sysclock set to 500kHz."
 }
 
-# Do not remap the ARM interrupt vectors to anything but the beginning ot the flash.
+# Do not remap the ARM interrupt vectors to anything but the beginning of the flash.
 # Table System memory remap register (SYSMEMREMAP, address 0x4004 8000) bit description
 # Bit Symbol  Value   Description
 # 0   map         -   interrupt vector remap. 0 after boot.
index d4ee79ff2c9b1997c8113dd74b2bf4055a09a3ca..cffcbc7538fa6763212593f68099541f9293e3cb 100644 (file)
@@ -60,7 +60,7 @@ adapter speed 1500
 #
 # Newer families like PSoC 4000, 4100M, 4200M, 4100L, 4200L and PSoC 4 BLE
 # clear TEST_MODE flag during device reset so workaround is not possible.
-# Use a KitProg adapter for theese devices or "reset halt" will not stop
+# Use a KitProg adapter for these devices or "reset halt" will not stop
 # before executing user code.
 #
 # 3) SWD cannot be connected during system initialization after reset.

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)