Add --list-supported option to flashrom which lists the supported

ROM chips, chipsets, and mainboards (Closes #90).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ward Vandewege <ward@gnu.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3133 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2008-03-12 11:54:51 +00:00
parent 2aa1436777
commit 098913dadf
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.