From 20a293fc680acd9a3cc8a6a05e4da90d55886495 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 19 Jun 2009 10:42:43 +0000 Subject: Allow to print an auto-generated hardware support list in MediaWiki markup Add a --list-supported-wiki / -z option which outputs the currently supported flash chips (and their status, size, and type), chipsets (plus status), mainboards (plus status), and external PCI devices usable as programmer to stdout. This allows for very easy pasting into the http://coreboot.org/flashrom page, so we can keep that page up-to-date without much hassle. The list of boards is mostly new (known good ones which don't need write-enable code, and known-bad ones) and also lists URLs to the vendor's mainboard pages. Corresponding to flashrom svn r607. Signed-off-by: Uwe Hermann Acked-by: Carl-Daniel Hailfinger --- flash.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 23c4fe6f..1d991e08 100644 --- a/flash.h +++ b/flash.h @@ -248,6 +248,12 @@ struct board_info { const char *name; }; +struct board_info_url { + const char *vendor; + const char *name; + const char *url; +}; + extern const struct board_info boards_ok[]; extern const struct board_info boards_bad[]; extern const struct board_info laptops_ok[]; @@ -281,6 +287,12 @@ void print_supported_chips(void); void print_supported_chipsets(void); void print_supported_boards(void); void print_supported_pcidevs(struct pcidev_status *devs); +void print_supported_chips_wiki(void); +void print_supported_boards_wiki(void); +void print_supported_chipsets_wiki(void); +void print_supported_pcidevs_wiki_header(void); +void print_supported_pcidevs_wiki_footer(void); +void print_supported_pcidevs_wiki(struct pcidev_status *devs); /* board_enable.c */ void w836xx_ext_enter(uint16_t port); -- cgit v1.2.3