summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-03-17 03:22:12 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-17 07:25:25 +0100
commit33a17fd35995a7f679f92600055a8f55ae380022 (patch)
treeaeced6708919d4275600e4883e9566582e3c8d63 /src/flash
parent582b4195a99a21caa9522713fae659621137e0f9 (diff)
downloadopenocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.gz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.bz2
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.xz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.zip
Fix a bunch of typos.
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.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nand/mx2.c2
-rw-r--r--src/flash/nand/mx3.c2
-rw-r--r--src/flash/nor/at91sam3.c2
-rw-r--r--src/flash/nor/stellaris.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/nand/mx2.c b/src/flash/nand/mx2.c
index 6bad4aad..77ae1382 100644
--- a/src/flash/nand/mx2.c
+++ b/src/flash/nand/mx2.c
@@ -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)
diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c
index 41f08b5b..45591e39 100644
--- a/src/flash/nand/mx3.c
+++ b/src/flash/nand/mx3.c
@@ -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;
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index f895935f..0b71e819 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -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;
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 6a81047a..e57943cd 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -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 */