mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Also print the required -m option in --list-supported output
Corresponding to flashrom svn r202 and coreboot v2 svn r3138. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
parent
fe7e929f49
commit
23c3d951b7
@ -506,8 +506,16 @@ void print_supported_boards(void)
|
||||
|
||||
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);
|
||||
for (i = 0; board_pciid_enables[i].name != NULL; i++) {
|
||||
if (board_pciid_enables[i].lb_vendor != NULL) {
|
||||
printf("%s (-m %s:%s)\n", board_pciid_enables[i].name,
|
||||
board_pciid_enables[i].lb_vendor,
|
||||
board_pciid_enables[i].lb_part);
|
||||
} else {
|
||||
printf("%s (autodetected)\n",
|
||||
board_pciid_enables[i].name);
|
||||
}
|
||||
}
|
||||
|
||||
printf("\nSee also: http://coreboot.org/Flashrom\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user