[coreboot-gerrit] New patch to review for coreboot: 476cb33 lbtdump: Support mainboard-id
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Sat Aug 23 01:22:05 CEST 2014
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6745
-gerrit
commit 476cb330e0825b6a563c72f467f80c8ec6ca9492
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Fri Aug 22 23:39:25 2014 +0200
lbtdump: Support mainboard-id
Change-Id: I291aa695aae2098d93cd6ca4e892a39e26e9c717
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
util/lbtdump/lbtdump.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/util/lbtdump/lbtdump.c b/util/lbtdump/lbtdump.c
index 34d1165..cde1cc7 100644
--- a/util/lbtdump/lbtdump.c
+++ b/util/lbtdump/lbtdump.c
@@ -366,6 +366,7 @@ static void print_usage(const char *name)
{
printf("usage: %s [-mh?]\n", name);
printf("\n"
+ " -m | --mainboard-id: print mainboard id\n"
" -w | --coreboot-version: dump coreboot version\n"
" -V | --verbose: verbose (debugging) output\n"
" -h | --help: print this help\n"
@@ -382,6 +383,7 @@ int main(int argc, char **argv)
int opt, option_index = 0;
static struct option long_options[] = {
+ {"mainboard-id", 0, 0, 'm'},
{"coreboot-version", 0, 0, 'w'},
{"verbose", 0, 0, 'V'},
{"help", 0, 0, 'h'},
@@ -390,6 +392,9 @@ int main(int argc, char **argv)
while ((opt = getopt_long(argc, argv, "Vmwh?",
long_options, &option_index)) != EOF) {
switch (opt) {
+ case 'm':
+ target = LB_TAG_MAINBOARD_ID;
+ break;
case 'w':
target = LB_TAG_VERSION;
break;
More information about the coreboot-gerrit
mailing list