target: fix some minor typo 17/6217/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 28 Jan 2021 12:32:41 +0000 (13:32 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 May 2021 09:06:45 +0000 (10:06 +0100)
Minor typos found by the new checkpatch boosted by the dictionary
provided by 'codespell'.

Change-Id: I548581247db72e683249749d1b8725035530b06e
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6217
Tested-by: jenkins
src/target/arc.c
src/target/arc.h
src/target/arm_adi_v5.c
src/target/avr32_mem.c
src/target/embeddedice.h
src/target/target.c
src/target/target_type.h

index 694ac6f8564580d474dd024f8890511d7a1ff362..e11cd7d795efe19cdd566a827d592be2e254839f 100644 (file)
@@ -1467,7 +1467,7 @@ static int arc_configure_actionpoint(struct target *target, uint32_t ap_num,
        if (control_tt != AP_AC_TT_DISABLE) {
 
                if (arc->actionpoints_num_avail < 1) {
-                       LOG_ERROR("No free actionpoints, maximim amount is %u",
+                       LOG_ERROR("No free actionpoints, maximum amount is %u",
                                        arc->actionpoints_num);
                        return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
                }
index 8d44bfa41c973dec571d1af9fca51e9b6923cd48..f0351bdf3998e90aab7c6d0bf08e335dd5ed71dc 100644 (file)
@@ -206,7 +206,7 @@ struct arc_common {
        bool dcache_invalidated;
        bool l2cache_invalidated;
 
-       /* Indicate if cach was built (for deinit function) */
+       /* Indicate if cache was built (for deinit function) */
        bool core_aux_cache_built;
        bool bcr_cache_built;
        /* Closely Coupled memory(CCM) regions for performance-critical
index 8f5ad59c3d398289108e8de391e4894da83f8547..6569fccfdf17b58e43157e3207d260f87901afa3 100644 (file)
@@ -32,7 +32,7 @@
  * This file implements support for the ARM Debug Interface version 5 (ADIv5)
  * debugging architecture.  Compared with previous versions, this includes
  * a low pin-count Serial Wire Debug (SWD) alternative to JTAG for message
- * transport, and focusses on memory mapped resources as defined by the
+ * transport, and focuses on memory mapped resources as defined by the
  * CoreSight architecture.
  *
  * A key concept in ADIv5 is the Debug Access Port, or DAP.  A DAP has two
index 71ec0b43171f422fce5ce8de5b228528d7c839c8..8f38a18442f4649914545cdc381c21f4c841c7be 100644 (file)
@@ -176,7 +176,7 @@ int avr32_jtag_write_memory16(struct avr32_jtag *jtag_info,
         */
        if (addr & 3) {
                /*
-                * mwa_read will read whole world, no nead to fiddle
+                * mwa_read will read whole world, no need to fiddle
                 * with address. It will be truncated in set_addr
                 */
                retval = avr32_jtag_mwa_read(jtag_info, SLAVE_HSB_UNCACHED,
@@ -248,7 +248,7 @@ int avr32_jtag_write_memory8(struct avr32_jtag *jtag_info,
         */
        if (addr & 3) {
                /*
-                * mwa_read will read whole world, no nead to fiddle
+                * mwa_read will read whole world, no need to fiddle
                 * with address. It will be truncated in set_addr
                 */
                retval = avr32_jtag_mwa_read(jtag_info, SLAVE_HSB_UNCACHED,
index 4b5c816a6b34c4849c5053e8a72fbaf3d6ac7d70..4a62cefaac098228d750dad0d29c610fb2be2f49 100644 (file)
@@ -106,7 +106,7 @@ int embeddedice_send(struct arm_jtag *jtag_info, uint32_t *data, uint32_t size);
 
 int embeddedice_handshake(struct arm_jtag *jtag_info, int hsbit, uint32_t timeout);
 
-/* If many embeddedice_write_reg() follow eachother, then the >1 invocations can be
+/* If many embeddedice_write_reg() follow each other, then the >1 invocations can be
  * this faster version of embeddedice_write_reg
  */
 static inline void embeddedice_write_reg_inner(struct jtag_tap *tap, int reg_addr, uint32_t value)
index e9d67702e60ec8c039b540c730b0820a0d83e727..d60e642c94632e6c061811a134b70f812ccfc069 100644 (file)
@@ -5173,7 +5173,7 @@ no_params:
                        if (goi->isconfigure) {
                                struct command_context *cmd_ctx = current_command_context(goi->interp);
                                if (cmd_ctx->mode != COMMAND_CONFIG) {
-                                       Jim_SetResultString(goi->interp, "-gdb-max-conenctions must be configured before 'init'", -1);
+                                       Jim_SetResultString(goi->interp, "-gdb-max-connections must be configured before 'init'", -1);
                                        return JIM_ERR;
                                }
 
index 0f3df0002dd22bf18fecdd90026ac7040b73a94c..1948121fa8a03996cf556e36f3337e00e7e24055 100644 (file)
@@ -79,7 +79,7 @@ struct target_type {
         * state correctly.
         *
         * Otherwise the following would fail, as there will not
-        * be any "poll" invoked inbetween the "reset run" and
+        * be any "poll" invoked between the "reset run" and
         * "halt".
         *
         * reset run; halt

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)