summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-08-07 12:20:04 +0200
committerMartin Roth <martinroth@google.com>2018-08-09 15:56:42 +0000
commit1ec76447c0fe3dbbe0a8e3d4762294bf3c7a97f8 (patch)
tree371acaa12e518f16cdef397a18fdc0e5aad74d61 /src
parent08fc8fff255c3aa27362655887a5f5bcd786857c (diff)
src/lib: Fix typo
Change-Id: Ie5bf036a63a254dd95b45a0823086c8079eeafe2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27913 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/device_tree.c2
-rw-r--r--src/lib/region_file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/device_tree.c b/src/lib/device_tree.c
index 00b36fdb4a..a905dbf893 100644
--- a/src/lib/device_tree.c
+++ b/src/lib/device_tree.c
@@ -751,7 +751,7 @@ uint32_t dt_get_phandle(struct device_tree_node *node)
* Write an arbitrary sized big-endian integer into a pointer.
*
* @param dest Pointer to the DT property data buffer to write.
- * @param src The integer to write (in CPU endianess).
+ * @param src The integer to write (in CPU endianness).
* @param length the length of the destination integer in bytes.
*/
void dt_write_int(u8 *dest, u64 src, size_t length)
diff --git a/src/lib/region_file.c b/src/lib/region_file.c
index 9d103f2404..e42c2afd1e 100644
--- a/src/lib/region_file.c
+++ b/src/lib/region_file.c
@@ -465,7 +465,7 @@ int region_file_update_data(struct region_file *f, const void *buf, size_t size)
break;
}
- /* No more state changes and data commited. */
+ /* No more state changes and data committed. */
if (f->slot > RF_ONLY_METADATA && prev_slot != f->slot)
break;
}