From ddecbc40aa3a7c725c31dc3b5c7c3ec3d3655210 Mon Sep 17 00:00:00 2001 From: stepan Date: Thu, 30 Jul 2009 13:30:17 +0000 Subject: Boards with coreboot have a cbtable containing vendor and board name. flashrom tries to match these with board enable entries in its database. If no such board enable entry exists because the board doesn't need one, flashrom complains. Silence that complaint. Signed-off-by: Carl-Daniel Hailfinger Slightly updated and Acked-by: Stefan Reinauer git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@668 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- cbtable.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cbtable.c') diff --git a/cbtable.c b/cbtable.c index 4bcfa88..10fe494 100644 --- a/cbtable.c +++ b/cbtable.c @@ -31,6 +31,7 @@ #include "coreboot_tables.h" char *lb_part = NULL, *lb_vendor = NULL; +int partvendor_from_cbtable = 0; static unsigned long compute_checksum(void *addr, unsigned long length) { @@ -150,6 +151,7 @@ static void find_mainboard(struct lb_record *ptr, unsigned long addr) if (lb_part) { printf("Overwritten by command line, vendor ID: %s, part ID: %s.\n", lb_vendor, lb_part); } else { + partvendor_from_cbtable = 1; lb_part = strdup(part); lb_vendor = strdup(vendor); } -- cgit v1.2.1