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

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>
This commit is contained in:
Uwe Hermann
2008-03-12 11:54:51 +00:00
parent 75f510768d
commit e5ac16445f
5 changed files with 64 additions and 7 deletions

View File

@ -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.