summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfs_image.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-08-23 18:08:20 +0200
committerMartin Roth <martinroth@google.com>2018-08-28 14:20:15 +0000
commit3db0198358e1b8101d78a7c785e4f4efde4fcaf9 (patch)
tree1e28a8ab60ad8b7732f85cdbc352ba081fb946d1 /util/cbfstool/cbfs_image.c
parent7bb53aa3862489a04668805f1dfebe962633daa2 (diff)
downloadcoreboot-3db0198358e1b8101d78a7c785e4f4efde4fcaf9.tar.xz
util/cbfstool: Fix typos
Change-Id: I6967a106ce1286d633ddeeb041f582e65f9ea78c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28208 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/cbfstool/cbfs_image.c')
-rw-r--r--util/cbfstool/cbfs_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c
index 4b6bda929a..963c892168 100644
--- a/util/cbfstool/cbfs_image.c
+++ b/util/cbfstool/cbfs_image.c
@@ -685,7 +685,7 @@ static int cbfs_add_entry_at(struct cbfs_image *image,
len = content_offset - addr - header_size;
memcpy(entry, header, header_size);
if (len != 0) {
- /* the header moved backwards a bit to accomodate cbfs_file
+ /* the header moved backwards a bit to accommodate cbfs_file
* alignment requirements, so patch up ->offset to still point
* to file data.
*/
@@ -1867,9 +1867,9 @@ struct cbfs_file_attribute *cbfs_add_file_attr(struct cbfs_file *header,
* If NULL, we have to create the first one. */
if (attr == NULL) {
/* New attributes start where the header ends.
- * header->offset is later set to accomodate the
+ * header->offset is later set to accommodate the
* additional structure.
- * No endianess translation necessary here, because both
+ * No endianness translation necessary here, because both
* fields are encoded the same way. */
header->attributes_offset = header->offset;
attr = (struct cbfs_file_attribute *)