[coreboot-gerrit] Patch set updated for coreboot: cbfs: mirror cbfs file attributes for compression

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Jul 16 15:36:23 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 367ab487f2b153380685e04b0b10c0d130f0851e
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 198ce78..c764120 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_offset <= sizeof(_p)) ? NULL : \



More information about the coreboot-gerrit mailing list