diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-07-15 18:28:23 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-18 09:56:08 +0200 |
commit | 0d618afc84db49e2248f9dff6ba21055830bc202 (patch) | |
tree | 6bafbdceb6291fd920cdbc5862fde347d70e6fc4 /util/cbfstool/common.c | |
parent | 0d869ede7faf161df2424466988cef471e989086 (diff) | |
download | coreboot-0d618afc84db49e2248f9dff6ba21055830bc202.tar.xz |
cbfstool: rename checksum to attributes_offset
So far it's still unused, but its purpose will change:
It will become an offset to another structure that contains additional file
attributes.
This change is compatible because the binary format doesn't change and so far
the field was always set to 0, which can serve nicely as 'unused' field.
Change-Id: I2dafb06866713d43a236556f9492641526270837
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10933
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/common.c')
-rw-r--r-- | util/cbfstool/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c index fffd096b76..d72db38ed4 100644 --- a/util/cbfstool/common.c +++ b/util/cbfstool/common.c @@ -131,7 +131,7 @@ void cbfs_file_get_header(struct buffer *buf, struct cbfs_file *file) bgets(buf, &file->magic, sizeof(file->magic)); file->len = xdr_be.get32(buf); file->type = xdr_be.get32(buf); - file->checksum = xdr_be.get32(buf); + file->attributes_offset = xdr_be.get32(buf); file->offset = xdr_be.get32(buf); } |