[coreboot-gerrit] Patch set updated for coreboot: cbfstool: add cbfs file attribute structure

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Mon Jul 27 18:21:34 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10937

-gerrit

commit 230014e717dff183b8ab1ed647e34551e4c2770d
Author: Patrick Georgi <pgeorgi at 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, from which to
    build specialized TLV data structures.
    
    Change-Id: I98a75eef19f049ad67d46cdc2790949dcd155797
    Signed-off-by: Patrick Georgi <pgeorgi at 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;



More information about the coreboot-gerrit mailing list