summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 18:00:09 +1300
committerSimon Glass <sjg@chromium.org>2021-03-27 13:59:37 +1300
commit72ca4859784227138a42d924678222d68fc20484 (patch)
treeef64aad0cfd58227c2a1962c7813ec51afd8ae02 /fs
parent326aae258925b689b04dbd782a7e5e76e4eaf864 (diff)
downloadu-boot-72ca4859784227138a42d924678222d68fc20484.tar.gz
cbfs: Add support for attributes
CBFS now supports attributes for things that cannot fit in the header as originally conceived. Add the structures for these. Also rename attributes_offset to something shorter, to ease code readability. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/cbfs/cbfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c
index 9007aa7d15..abc43ad33f 100644
--- a/fs/cbfs/cbfs.c
+++ b/fs/cbfs/cbfs.c
@@ -129,7 +129,7 @@ static int file_cbfs_next_file(struct cbfs_priv *priv, void *start, int size,
new_node->name = (char *)file_header +
sizeof(struct cbfs_fileheader);
new_node->name_length = name_len;
- new_node->attributes_offset = header.attributes_offset;
+ new_node->attr_offset = header.attributes_offset;
step = header.len;
if (step % align)