[coreboot] r3138 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Thu Mar 13 19:41:07 CET 2008
Author: uwe
Date: 2008-03-13 19:41:07 +0100 (Thu, 13 Mar 2008)
New Revision: 3138
Modified:
trunk/util/flashrom/board_enable.c
Log:
Also print the required -m option in --list-supported output (trivial).
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/util/flashrom/board_enable.c
===================================================================
--- trunk/util/flashrom/board_enable.c 2008-03-13 12:43:31 UTC (rev 3137)
+++ trunk/util/flashrom/board_enable.c 2008-03-13 18:41:07 UTC (rev 3138)
@@ -506,8 +506,16 @@
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");
}
More information about the coreboot
mailing list