summaryrefslogtreecommitdiff
path: root/src/flash/nor
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/nor
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/nor')
-rw-r--r--src/flash/nor/at91sam3.c2
-rw-r--r--src/flash/nor/stellaris.c2
2 files changed, 2 insertions, 2 deletions
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 */