1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

Merge print.c and print_wiki.c board/URL tables

Also, merge the tables in the output, i.e. there's only one table which
contains both known-good and known-bad/untested boards.

Corresponding to flashrom svn r1024.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Peter Lemenkov
2010-06-01 10:13:17 +00:00
committed by Uwe Hermann
parent 71127727dc
commit 4adf8a6512
3 changed files with 295 additions and 592 deletions

18
flash.h
View File

@ -305,12 +305,22 @@ extern struct board_pciid_enable board_pciid_enables[];
struct board_info {
const char *vendor;
const char *name;
const int working;
#ifdef CONFIG_PRINT_WIKI
const char *url;
const char *note;
#endif
};
extern const struct board_info boards_ok[];
extern const struct board_info boards_bad[];
extern const struct board_info laptops_ok[];
extern const struct board_info laptops_bad[];
#ifdef CONFIG_PRINT_WIKI
#define B(vendor, name, status, url, note) { vendor, name, status, url, note }
#else
#define B(vendor, name, status, url, note) { vendor, name, status }
#endif
extern const struct board_info boards_known[];
extern const struct board_info laptops_known[];
#endif
/* udelay.c */