path: root/flash.h
diff options
authorUwe Hermann <>2009-06-19 10:42:43 +0000
committerUwe Hermann <>2009-06-19 10:42:43 +0000
commit20a293fc680acd9a3cc8a6a05e4da90d55886495 (patch)
tree594d624bb0cc79e83662b103d030692aeccb8f36 /flash.h
parentd0c2ed9584cdeaf1f3af496cc44ab43e88229268 (diff)
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 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 <>
Diffstat (limited to 'flash.h')
1 files changed, 12 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 23c4fe6..1d991e0 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);
OpenPOWER on IntegriCloud