From 33a17fd35995a7f679f92600055a8f55ae380022 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 17 Mar 2011 03:22:12 +0100 Subject: 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. --- src/flash/nand/mx2.c | 2 +- src/flash/nand/mx3.c | 2 +- src/flash/nor/at91sam3.c | 2 +- src/flash/nor/stellaris.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/flash') 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 */ -- cgit v1.2.3