Fix a bunch of typos.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 17 Mar 2011 02:22:12 +0000 (03:22 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 17 Mar 2011 06:25:25 +0000 (07:25 +0100)
Fix a bunch of typos.

Most are in code comments, so nothing should break. UNKOWN_COMMAND and
CMD_UNKOWN are not used elsewhere, so correcting the spelling should
also not break anything.

13 files changed:
src/flash/nand/mx2.c
src/flash/nand/mx3.c
src/flash/nor/at91sam3.c
src/flash/nor/stellaris.c
src/jtag/drivers/buspirate.c
src/jtag/drivers/usbprog.c
src/server/startup.tcl
src/svf/svf.c
src/target/armv7m.c
src/target/image.c
src/target/mips32.c
src/target/target.c
src/target/target.h

index 6bad4aad36a13cd6ed1082bbbeb7d6be3aea66c7..77ae13827d5ea256b35af4bd555c7b2d89a7636a 100644 (file)
@@ -105,7 +105,7 @@ NAND_DEVICE_COMMAND_HANDLER(imx27_nand_device_command)
        mx2_nf_info->flags.target_little_endian =
        (nand->target->endianness == TARGET_LITTLE_ENDIAN);
        /*
-        * testing host endianess
+        * testing host endianness
         */
        x = 1;
        if (*(char *) &x == 1)
index 41f08b5b1d3f119cd9d87b6e15ceb369f7462e25..45591e3930f4692fc7c6a9a05d4fcffb94be9a0a 100644 (file)
@@ -100,7 +100,7 @@ NAND_DEVICE_COMMAND_HANDLER(imx31_nand_device_command)
        mx3_nf_info->flags.target_little_endian =
        (nand->target->endianness == TARGET_LITTLE_ENDIAN);
        /*
-       * testing host endianess
+       * testing host endianness
        */
        {
        int x = 1;
index f895935fd9b756fd70ec75cea6430a761b6123d8..0b71e819d77eae5c0f0abe4937fba679d04ef810 100644 (file)
@@ -2684,7 +2684,7 @@ showall:
                           (0 == strcmp("clear", CMD_ARGV[0]))) { // quietly accept both
                r = FLASHD_ClrGPNVM(&(pChip->details.bank[0]), who);
        } else {
-               command_print(CMD_CTX, "Unkown command: %s", CMD_ARGV[0]);
+               command_print(CMD_CTX, "Unknown command: %s", CMD_ARGV[0]);
                r = ERROR_COMMAND_SYNTAX_ERROR;
        }
        return r;
index 6a81047a5ded2f593850b8b94e553f01920200ea..e57943cdf43b73da6632ad34795d6b5f88df1d92 100644 (file)
@@ -841,7 +841,7 @@ static int stellaris_protect(struct flash_bank *bank, int set, int first, int la
         * REVISIT DustDevil-A0 parts have an erratum making FMPPE commits
         * inadvisable ... it makes future mass erase operations fail.
         */
-       LOG_WARNING("Flash protection cannot be removed once commited, commit is NOT executed !");
+       LOG_WARNING("Flash protection cannot be removed once committed, commit is NOT executed !");
        /* target_write_u32(target, FLASH_FMC, FMC_WRKEY | FMC_COMT); */
 
        /* Wait until erase complete */
index 836a4d18a9bf9fa0f16d0309aedb4c66907401a6..7813f3302d6d78071c56cc8a8491072d2f4eb355 100644 (file)
@@ -45,7 +45,7 @@ static void buspirate_scan(bool ir_scan, enum scan_type type,
        uint8_t *buffer, int scan_size, struct scan_command *command);
 
 
-#define CMD_UNKOWN        0x00
+#define CMD_UNKNOWN       0x00
 #define CMD_PORT_MODE     0x01
 #define CMD_FEATURE       0x02
 #define CMD_READ_ADCS     0x03
index cc7855564968c21d8539a613963153d19a32b5c1..17b0116405c448697dda2e54de657c2abde366aa 100644 (file)
@@ -54,7 +54,7 @@ static void usbprog_path_move(struct pathmove_command *cmd);
 static void usbprog_runtest(int num_cycles);
 static void usbprog_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int scan_size);
 
-#define UNKOWN_COMMAND 0x00
+#define UNKNOWN_COMMAND        0x00
 #define PORT_DIRECTION 0x01
 #define PORT_SET               0x02
 #define PORT_GET               0x03
index 7801d1b0c1224fe299f8626706284c4ab90aecc9..64ace40795e35a26033a8f6f69027f495a9e5cfc 100644 (file)
@@ -1,6 +1,6 @@
 # Defines basic Tcl procs for OpenOCD server modules
 
-# Handle GDB 'R' packet. Can be overriden by configuration script,
+# Handle GDB 'R' packet. Can be overridden by configuration script,
 # but it's not something one would expect target scripts to do
 # normally
 proc ocd_gdb_restart {target_id} {
index 6acf032521878bb1263557d905793319211432fd..0cca768d758bd76881d9893deb409c3a0cc3fb75 100644 (file)
@@ -402,7 +402,7 @@ COMMAND_HANDLER(handle_svf_command)
 
        svf_buffer_index = 0;
        // double the buffer size
-       // in case current command cannot be commited, and next command is a bit scan command
+       // in case current command cannot be committed, and next command is a bit scan command
        // here is 32K bits for this big scan command, it should be enough
        // buffer will be reallocated if buffer size is not enough
        svf_tdi_buffer = (uint8_t *)malloc(2 * SVF_MAX_BUFFER_SIZE_TO_COMMIT);
index 4fcde16fd4d865ef47c604084fd9aac75844e690..fff5dd84062d1c8b7850f5f525f443dd82a577f8 100644 (file)
@@ -315,7 +315,7 @@ static int armv7m_run_and_wait(struct target *target, uint32_t entry_point, int
        armv7m->load_core_reg_u32(target, ARMV7M_REGISTER_CORE_GP, 15, &pc);
        if (exit_point && (pc != exit_point))
        {
-               LOG_DEBUG("failed algoritm halted at 0x%" PRIx32 " ", pc);
+               LOG_DEBUG("failed algorithm halted at 0x%" PRIx32 " ", pc);
                return ERROR_TARGET_TIMEOUT;
        }
 
index b0d957f8ab62164f7d9a1d63be442655ef2393f0..454fc6c183baa8ed8e4f1de039c5dbd11989150e 100644 (file)
@@ -431,7 +431,7 @@ static int image_elf_read_headers(struct image *image)
        if ((elf->endianness != ELFDATA2LSB)
                 &&(elf->endianness != ELFDATA2MSB))
        {
-               LOG_ERROR("invalid ELF file, unknown endianess setting");
+               LOG_ERROR("invalid ELF file, unknown endianness setting");
                return ERROR_IMAGE_FORMAT_ERROR;
        }
 
index e48a040cec6c9228adc30bfae344af79eb3edab5..79215b5f3f0d91844c08786b3385bfacd16ba553 100644 (file)
@@ -351,7 +351,7 @@ static int mips32_run_and_wait(struct target *target, uint32_t entry_point,
        pc = buf_get_u32(mips32->core_cache->reg_list[MIPS32_PC].value, 0, 32);
        if (exit_point && (pc != exit_point))
        {
-               LOG_DEBUG("failed algoritm halted at 0x%" PRIx32 " ", pc);
+               LOG_DEBUG("failed algorithm halted at 0x%" PRIx32 " ", pc);
                return ERROR_TARGET_TIMEOUT;
        }
 
index 3a6c6bb42129d5c0f9b9bce86403347cb4f5f74b..be42b338fba3136d2cf23579edd193d8ab96a107 100644 (file)
@@ -1522,7 +1522,7 @@ int target_checksum_memory(struct target *target, uint32_t address, uint32_t siz
                        return retval;
                }
 
-               /* convert to target endianess */
+               /* convert to target endianness */
                for (i = 0; i < (size/sizeof(uint32_t)); i++)
                {
                        uint32_t target_data;
index 2bf96689fdfa2326264bfc43c129749f0ec38b86..d6e7431e803cbb7daab66dcc70380219e87a8996 100644 (file)
@@ -84,7 +84,7 @@ enum target_debug_reason
        DBG_REASON_UNDEFINED = 6
 };
 
-enum target_endianess
+enum target_endianness
 {
        TARGET_ENDIAN_UNKNOWN = 0,
        TARGET_BIG_ENDIAN = 1, TARGET_LITTLE_ENDIAN = 2
@@ -139,7 +139,7 @@ struct target
        uint32_t backup_working_area;                   /* whether the content of the working area has to be preserved */
        struct working_area *working_areas;/* list of allocated working areas */
        enum target_debug_reason debug_reason;/* reason why the target entered debug state */
-       enum target_endianess endianness;       /* target endianess */
+       enum target_endianness endianness;      /* target endianness */
        // also see: target_state_name()
        enum target_state state;                        /* the current backend-state (running, halted, ...) */
        struct reg_cache *reg_cache;            /* the first register cache of the target (core regs) */

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)