diff options
author | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-07-30 13:30:17 +0000 |
---|---|---|
committer | stepan <stepan@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-07-30 13:30:17 +0000 |
commit | ddecbc40aa3a7c725c31dc3b5c7c3ec3d3655210 (patch) | |
tree | 50e1d66441dcc18b74aa192c51aac257fe51548f /cbtable.c | |
parent | b53db2a9bf404ee38f40b9fbdb1f3062a5ea5ecf (diff) | |
download | flashrom-ddecbc40aa3a7c725c31dc3b5c7c3ec3d3655210.tar.gz |
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 <c-d.hailfinger.devel.2006@gmx.net>
Slightly updated and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@668 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'cbtable.c')
-rw-r--r-- | cbtable.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |