[coreboot] New patch to review for coreboot: a312f01 cbfstool: pretty print cmos layout files
Mathias Krause (minipli@googlemail.com)
gerrit at coreboot.org
Thu Apr 12 21:48:12 CEST 2012
Mathias Krause (minipli at googlemail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/892
-gerrit
commit a312f010eb33da82cacaad0fea46a86ea3e954d7
Author: Mathias Krause <minipli at googlemail.com>
Date: Thu Apr 12 21:36:23 2012 +0200
cbfstool: pretty print cmos layout files
While at it, also make the array static - no need to export this symbol.
Change-Id: I7fdcda2b80150b6f32b5bc3e0957998a4fd43fce
Signed-off-by: Mathias Krause <minipli at googlemail.com>
---
util/cbfstool/common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c
index 49da7ae..7a6e2c2 100644
--- a/util/cbfstool/common.c
+++ b/util/cbfstool/common.c
@@ -133,7 +133,7 @@ int iself(unsigned char *input)
return !memcmp(ehdr->e_ident, ELFMAG, 4);
}
-struct filetypes_t {
+static struct filetypes_t {
uint32_t type;
const char *name;
} filetypes[] = {
@@ -146,6 +146,7 @@ struct filetypes_t {
{CBFS_COMPONENT_MBI, "mbi"},
{CBFS_COMPONENT_MICROCODE, "microcode"},
{CBFS_COMPONENT_CMOS_DEFAULT, "cmos default"},
+ {CBFS_COMPONENT_CMOS_LAYOUT, "cmos layout"},
{CBFS_COMPONENT_DELETED, "deleted"},
{CBFS_COMPONENT_NULL, "null"}
};
More information about the coreboot
mailing list