Commit 23c3d951 authored by Uwe Hermann's avatar Uwe Hermann
Browse files

Also print the required -m option in --list-supported output


Corresponding to flashrom svn r202 and coreboot v2 svn r3138.
Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
parent fe7e929f
......@@ -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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment