diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-13 18:41:07 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-13 18:41:07 +0000 |
commit | 23c3d951b71ecd56c500b3f042f0da35c07737fc (patch) | |
tree | 13c576164e19f02344c5cd8cb1489827870824fd | |
parent | fe7e929f49a6f26ae2c35ecd6a40980d2359d87c (diff) | |
download | flashrom-23c3d951b71ecd56c500b3f042f0da35c07737fc.tar.gz flashrom-23c3d951b71ecd56c500b3f042f0da35c07737fc.tar.bz2 flashrom-23c3d951b71ecd56c500b3f042f0da35c07737fc.zip |
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>
-rw-r--r-- | board_enable.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/board_enable.c b/board_enable.c index 5b4b39a3..714e6502 100644 --- a/board_enable.c +++ b/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"); } |