[coreboot-gerrit] New patch to review for coreboot: cbfs: mirror cbfs file attributes for compression

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Wed Jul 15 21:53:16 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/10939

-gerrit

commit 097f43cb760b1911f2b9598a37cb36d41d4fb5ca
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Jul 15 21:36:58 2015 +0200

    cbfs: mirror cbfs file attributes for compression
    
    Even if coreboot doesn't use them at this time, but keep the structures in
    sync.
    
    Change-Id: I92f21edc3bbac6be419b1593d8e13d6055c94efa
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/include/cbfs_serialized.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/include/cbfs_serialized.h b/src/include/cbfs_serialized.h
index 7fa8dbb..ed848c8 100644
--- a/src/include/cbfs_serialized.h
+++ b/src/include/cbfs_serialized.h
@@ -138,6 +138,8 @@ struct cbfs_file {
 
 struct cbfs_file_attributes {
 	uint32_t len;
+	uint32_t compression;
+	uint32_t decompressed_size;
 } __attribute__((packed));
 
 #define CBFS_FILE_ATTRIBUTES(_p) (((_p)->attributes == 0) ? NULL : \



More information about the coreboot-gerrit mailing list