cbfs_file_first_attr(struct cbfs_file *) and cbfs_file_next_attr(struct cbfs_file *, struct cbfs_file_attribute *) help navigate through extended attributes.
cbfs_add_file_attr(header, tag, size) adds a new file attribute to header.
Change-Id: I325965286c44f31abd95df684d340cebb0e68b75
2c61506 cbfstool: add extended file attributes for cbfs_file
util/cbfstool/cbfs.h | 11 ++++++
util/cbfstool/cbfs_image.c | 87 +++++++++++++++++++++++++++++++++++++++++---
util/cbfstool/cbfs_image.h | 14 +++++++
3 files changed, 107 insertions(+), 5 deletions(-)
Upstream: review.coreboot.org