Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10937
-gerrit
commit 99c3e63cf39af1d5db0e5b5c5a52c15a2cd069f3 Author: Patrick Georgi pgeorgi@chromium.org Date: Wed Jul 22 21:32:03 2015 +0200
cbfstool: add cbfs file attribute structure
This is a generic structure, not unlike the cbtables design, based on which we can build specialized TLV data structures.
Change-Id: I98a75eef19f049ad67d46cdc2790949dcd155797 Signed-off-by: Patrick Georgi pgeorgi@chromium.org --- util/cbfstool/cbfs.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index f63b881..064d3e7 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -85,6 +85,12 @@ struct cbfs_file {
_Static_assert(sizeof(struct cbfs_file) == 24, "cbfs_file size mismatch");
+struct cbfs_file_attribute { + uint32_t tag; + uint32_t len; + uint8_t data[]; +} __PACKED; + struct cbfs_stage { uint32_t compression; uint64_t entry;