summaryrefslogtreecommitdiff
path: root/util/cbfstool/ifwitool.c
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-01-29 13:31:16 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-01-30 13:01:00 +0000
commit01cfecc8832580f5d28051de76b047a37d3fb46a (patch)
tree227394f7873f30109eb858653a3ead6d629a1a9e /util/cbfstool/ifwitool.c
parent805b29183086008b3934d9210de753a2ffe3d231 (diff)
downloadcoreboot-01cfecc8832580f5d28051de76b047a37d3fb46a.tar.xz
util/cbfstool: Fix typos
Found by: util/lint/checkpatch.pl --types TYPO_SPELLING --fix-inplace --strict --terse -f util/cbfstool/*.c Change-Id: I13a27407bf2bad4b9fadcec8cdbd5889068f13cf Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38633 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool/ifwitool.c')
-rw-r--r--util/cbfstool/ifwitool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/cbfstool/ifwitool.c b/util/cbfstool/ifwitool.c
index 76b84e26df..b25db4f099 100644
--- a/util/cbfstool/ifwitool.c
+++ b/util/cbfstool/ifwitool.c
@@ -387,7 +387,7 @@ static void alloc_buffer(struct buffer *b, size_t s, const char *n)
/*
* Read header/entry members in little-endian format.
- * Returns the offset upto which the read was performed.
+ * Returns the offset up to which the read was performed.
*/
static size_t read_member(void *src, size_t offset, size_t size_bytes,
void *dst)
@@ -415,7 +415,7 @@ static size_t read_member(void *src, size_t offset, size_t size_bytes,
/*
* Convert to little endian format.
- * Returns the offset upto which the fixup was performed.
+ * Returns the offset up to which the fixup was performed.
*/
static size_t fix_member(void *data, size_t offset, size_t size_bytes)
{
@@ -677,7 +677,7 @@ static size_t read_subpart_buf(void *data, size_t size, struct bpdt_entry *e,
/*
* Sub-partitions in IFWI image are not in the same order as
- * in BPDT entries. BPDT entires are in header_order whereas
+ * in BPDT entries. BPDT entries are in header_order whereas
* sub-partition offsets in the image are in pack_order.
*/
if ((e[i].offset + e[i].size) > max_offset)