[coreboot-gerrit] New patch to review for coreboot: cbfstool: introduce new file types

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Fri Sep 11 16:42:22 CET 2015


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

-gerrit

commit 1c9a628834fe1f4fdc8c8ade222d70aa6a89fb94
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Sep 9 20:11:26 2015 +0200

    cbfstool: introduce new file types
    
    Let's move x86 style bootblocks (and later the others) and the master header
    into the CBFS structure. Prepare for this by adding file types.
    
    Change-Id: I1b4149c7f3b8564ee358a2c18ba91e6a7a6797da
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/cbfstool/cbfs.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 70f806b..579afa6 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -148,6 +148,8 @@ struct cbfs_payload {
     Users are welcome to use any other value for their
     components */
 
+#define CBFS_COMPONENT_BOOTBLOCK  0x01
+#define CBFS_COMPONENT_CBFSHEADER 0x02
 #define CBFS_COMPONENT_STAGE      0x10
 #define CBFS_COMPONENT_PAYLOAD    0x20
 #define CBFS_COMPONENT_OPTIONROM  0x30
@@ -181,6 +183,8 @@ struct typedesc_t {
 };
 
 static struct typedesc_t filetypes[] unused = {
+	{CBFS_COMPONENT_BOOTBLOCK, "bootblock"},
+	{CBFS_COMPONENT_CBFSHEADER, "cbfs header"},
 	{CBFS_COMPONENT_STAGE, "stage"},
 	{CBFS_COMPONENT_PAYLOAD, "payload"},
 	{CBFS_COMPONENT_OPTIONROM, "optionrom"},



More information about the coreboot-gerrit mailing list