diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-12 11:54:51 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-12 11:54:51 +0000 |
commit | e5ac16445f70486713b6533c2071c80eb66cc174 (patch) | |
tree | 3e6343a00bfd9a05e644467f9e8e990816c865f5 /board_enable.c | |
parent | 75f510768d65acfefb0813873992449f4d186f35 (diff) | |
download | flashrom-e5ac16445f70486713b6533c2071c80eb66cc174.tar.gz flashrom-e5ac16445f70486713b6533c2071c80eb66cc174.tar.bz2 flashrom-e5ac16445f70486713b6533c2071c80eb66cc174.zip |
Add --list-supported option which lists the supported ROM chips, chipsets, and mainboards
Corresponding to flashrom svn r199 and coreboot v2 svn r3133.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board_enable.c b/board_enable.c index da5043f3..5b4b39a3 100644 --- a/board_enable.c +++ b/board_enable.c @@ -500,6 +500,18 @@ struct board_pciid_enable board_pciid_enables[] = { {0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL} /* Keep this */ }; +void print_supported_boards(void) +{ + int i; + + printf("\nSupported mainboards (this list is not exhaustive!):\n\n"); + + for (i = 0; board_pciid_enables[i].name != NULL; i++) + printf("%s\n", board_pciid_enables[i].name); + + printf("\nSee also: http://coreboot.org/Flashrom\n"); +} + /** * Match boards on coreboot table gathered vendor and part name. * Require main PCI IDs to match too as extra safety. |