diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-08 13:18:22 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-23 20:27:57 -0700 |
commit | ababe101d3797cdc6c1c8ab703ce4dc8fd9ac326 (patch) | |
tree | 6c455b1aee6fef2fabf74c587f2b9ede17259230 /include/cbfs.h | |
parent | 08b7bc3c3afd20b9fc62dd356c0e961e6dba5f26 (diff) |
cbfs: Rename checksum to attributes_offset
It seems that this field has been renamed in later version of coreboot.
Update it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/cbfs.h')
-rw-r--r-- | include/cbfs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cbfs.h b/include/cbfs.h index f2ede25f51..b8d1dabbf6 100644 --- a/include/cbfs.h +++ b/include/cbfs.h @@ -65,7 +65,8 @@ struct cbfs_fileheader { u8 magic[8]; u32 len; u32 type; - u32 checksum; + /* offset to struct cbfs_file_attribute or 0 */ + u32 attributes_offset; u32 offset; } __packed; @@ -76,7 +77,7 @@ struct cbfs_cachenode { u32 data_length; char *name; u32 name_length; - u32 checksum; + u32 attributes_offset; } __packed; extern enum cbfs_result file_cbfs_result; |