summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-01-30 12:58:08 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-01-30 13:47:49 +0000
commit220c2092ae12935a101746a8e42f48dae5ecf0cc (patch)
treec60ec682b32f3a41d969886c7f6f7c0e91724404 /util/cbfstool
parent34ca460af3237c8eb7699e2336b346a2da9718fe (diff)
downloadcoreboot-220c2092ae12935a101746a8e42f48dae5ecf0cc.tar.xz
util/*: more typo fixes
Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace --strict --terse -f $(find util -name '*.[ch]') Change-Id: I059071fd3a2edb41c72fc57fccbb520bd2ebb757 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38651 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/elf.h6
-rw-r--r--util/cbfstool/flashmap/fmap.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/util/cbfstool/elf.h b/util/cbfstool/elf.h
index 43fd7f33eb..11cee4f6f8 100644
--- a/util/cbfstool/elf.h
+++ b/util/cbfstool/elf.h
@@ -318,7 +318,7 @@ typedef struct
#define SHT_FINI_ARRAY 15 /* Array of destructors */
#define SHT_PREINIT_ARRAY 16 /* Array of pre-constructors */
#define SHT_GROUP 17 /* Section group */
-#define SHT_SYMTAB_SHNDX 18 /* Extended section indeces */
+#define SHT_SYMTAB_SHNDX 18 /* Extended section indices */
#define SHT_NUM 19 /* Number of defined types. */
#define SHT_LOOS 0x60000000 /* Start OS-specific. */
#define SHT_GNU_HASH 0x6ffffff6 /* GNU-style hash table. */
@@ -1697,9 +1697,9 @@ typedef Elf32_Addr Elf32_Conflict;
#define EFA_PARISC_1_1 0x0210 /* PA-RISC 1.1 big-endian. */
#define EFA_PARISC_2_0 0x0214 /* PA-RISC 2.0 big-endian. */
-/* Additional section indeces. */
+/* Additional section indices. */
-#define SHN_PARISC_ANSI_COMMON 0xff00 /* Section for tenatively declared
+#define SHN_PARISC_ANSI_COMMON 0xff00 /* Section for tentatively declared
symbols in ANSI C. */
#define SHN_PARISC_HUGE_COMMON 0xff01 /* Common blocks in huge model. */
diff --git a/util/cbfstool/flashmap/fmap.h b/util/cbfstool/flashmap/fmap.h
index e360011328..7f147ce3e9 100644
--- a/util/cbfstool/flashmap/fmap.h
+++ b/util/cbfstool/flashmap/fmap.h
@@ -91,7 +91,7 @@ extern long int fmap_find(const uint8_t *image, unsigned int len);
*
* @map: raw map data
*
- * returns 0 to indiciate success
+ * returns 0 to indicate success
* returns <0 to indicate failure
*/
extern int fmap_print(const struct fmap *map);