summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-13 18:41:07 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-13 18:41:07 +0000
commitee2bb3a21e6f19af62c500c109f658197d074c8f (patch)
tree90a02d34a24099e4d58495a21a1efaa9a67aefc2 /util
parentb7b22e3c573085a2e86f69df54ab92f6fe4b1645 (diff)
downloadcoreboot-ee2bb3a21e6f19af62c500c109f658197d074c8f.tar.xz
Also print the required -m option in --list-supported output (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3138 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/flashrom/board_enable.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/util/flashrom/board_enable.c b/util/flashrom/board_enable.c
index 5b4b39a3af..714e650220 100644
--- a/util/flashrom/board_enable.c
+++ b/util/flashrom/board_enable.c
@@ -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");
}