summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-01-08 15:52:03 +0100
committerNico Huber <nico.h@gmx.de>2020-01-10 15:26:03 +0000
commitda41b6182d22faf0ffa567f8e018078f4a6cbe7a (patch)
treeb3d8cb973a37126789b73b8d11b6fb4bc35ee316 /src/commonlib
parentb8473d019158fa52b7cfcf49c446eb078e4745b0 (diff)
include/commonlib: Fix typos
Change-Id: I9650084f42de15c04c7e26d8a4442a4f9ff65a87 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38271 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/include/commonlib/region.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commonlib/include/commonlib/region.h b/src/commonlib/include/commonlib/region.h
index 39db1bb627..47df9b63c6 100644
--- a/src/commonlib/include/commonlib/region.h
+++ b/src/commonlib/include/commonlib/region.h
@@ -31,7 +31,7 @@
struct region_device;
/*
- * Returns NULL on error otherwise a buffer is returned with the conents of
+ * Returns NULL on error otherwise a buffer is returned with the contents of
* the requested data at offset of size.
*/
void *rdev_mmap(const struct region_device *rd, size_t offset, size_t size);
@@ -173,7 +173,7 @@ struct mem_region_device {
struct region_device rdev;
};
-/* Inititalize at runtime a mem_region_device. This would be used when
+/* Initialize at runtime a mem_region_device. This would be used when
* the base and size are dynamic or can't be known during linking.
* There are two variants: read-only and read-write. */
void mem_region_device_ro_init(struct mem_region_device *mdev, void *base,