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>
This commit is contained in:
Elyes HAOUAS 2018-08-07 12:20:04 +02:00 committed by Martin Roth
parent 08fc8fff25
commit 1ec76447c0
2 changed files with 2 additions and 2 deletions

View File

@ -751,7 +751,7 @@ uint32_t dt_get_phandle(struct device_tree_node *node)
* Write an arbitrary sized big-endian integer into a pointer. * Write an arbitrary sized big-endian integer into a pointer.
* *
* @param dest Pointer to the DT property data buffer to write. * @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. * @param length the length of the destination integer in bytes.
*/ */
void dt_write_int(u8 *dest, u64 src, size_t length) void dt_write_int(u8 *dest, u64 src, size_t length)

View File

@ -465,7 +465,7 @@ int region_file_update_data(struct region_file *f, const void *buf, size_t size)
break; 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) if (f->slot > RF_ONLY_METADATA && prev_slot != f->slot)
break; break;
} }