[coreboot-gerrit] Patch set updated for coreboot: cbfs: Add type ids for empty files
Aaron Durbin (adurbin@chromium.org)
gerrit at coreboot.org
Mon Dec 21 23:38:23 CET 2015
Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12785
-gerrit
commit 8937fdf056225e7041189d3ded6e9bca406a44e7
Author: Patrick Georgi <pgeorgi at google.com>
Date: Tue Dec 15 10:09:55 2015 +0100
cbfs: Add type ids for empty files
We will soon need to handle empty files.
BUG=chromium:445938
BRANCH=tot
TEST=none
Change-Id: Ia72a4bff7d9bb36f6a6648c3dd89e86593d80761
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
src/commonlib/include/commonlib/cbfs_serialized.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/commonlib/include/commonlib/cbfs_serialized.h b/src/commonlib/include/commonlib/cbfs_serialized.h
index edef551..679ff07 100644
--- a/src/commonlib/include/commonlib/cbfs_serialized.h
+++ b/src/commonlib/include/commonlib/cbfs_serialized.h
@@ -62,6 +62,8 @@
Users are welcome to use any other value for their
components */
+#define CBFS_TYPE_DELETED 0x00000000
+#define CBFS_TYPE_DELETED2 0xffffffff
#define CBFS_TYPE_STAGE 0x10
#define CBFS_TYPE_PAYLOAD 0x20
#define CBFS_TYPE_OPTIONROM 0x30
@@ -130,7 +132,7 @@ struct cbfs_file {
char magic[8];
uint32_t len;
uint32_t type;
- uint32_t checksum;
+ uint32_t attributes_offset;
uint32_t offset;
} __attribute__((packed));
More information about the coreboot-gerrit
mailing list