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>
This commit is contained in:
committed by
Martin Roth
parent
7bb53aa386
commit
3db0198358
@@ -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 *)
|
||||
|
Reference in New Issue
Block a user