summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/cbfs.h
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-07-15 18:28:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-07-18 09:56:08 +0200
commit0d618afc84db49e2248f9dff6ba21055830bc202 (patch)
tree6bafbdceb6291fd920cdbc5862fde347d70e6fc4 /util/cbfstool/cbfs.h
parent0d869ede7faf161df2424466988cef471e989086 (diff)
downloadcoreboot-0d618afc84db49e2248f9dff6ba21055830bc202.tar.gz
coreboot-0d618afc84db49e2248f9dff6ba21055830bc202.tar.bz2
coreboot-0d618afc84db49e2248f9dff6ba21055830bc202.zip
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/cbfs.h')
-rw-r--r--util/cbfstool/cbfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 85d95f6498ae..f63b88156d00 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -77,7 +77,7 @@ struct cbfs_file {
/* length of file data */
uint32_t len;
uint32_t type;
- uint32_t checksum;
+ uint32_t attributes_offset;
/* length of header incl. variable data */
uint32_t offset;
char filename[];