mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Replace --mainboard with -p internal:mainboard
NOTE: The --list-supported-wiki output changed to use -p internal:mainboard= instead of -m The --list-supported output changed the heading of the mainboard list from Vendor Board Status Required option to Vendor Board Status Required value for -p internal:mainboard= Fix lb_vendor_dev_from_string() not to write to the supplied string. Corresponding to flashrom svn r1483. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
7
print.c
7
print.c
@ -389,7 +389,10 @@ static void print_supported_boards_helper(const struct board_info *boards,
|
||||
for (i = strlen("Board"); i < maxboardlen; i++)
|
||||
msg_ginfo(" ");
|
||||
|
||||
msg_ginfo("Status Required option\n\n");
|
||||
msg_ginfo("Status Required value for\n");
|
||||
for (i = 0; i < maxvendorlen + maxboardlen + strlen("Status "); i++)
|
||||
msg_ginfo(" ");
|
||||
msg_ginfo("-p internal:mainboard=\n");
|
||||
|
||||
for (b = boards; b->vendor != NULL; b++) {
|
||||
msg_ginfo("%s", b->vendor);
|
||||
@ -407,7 +410,7 @@ static void print_supported_boards_helper(const struct board_info *boards,
|
||||
if (e->lb_vendor == NULL)
|
||||
msg_ginfo("(autodetected)");
|
||||
else
|
||||
msg_ginfo("-m %s:%s", e->lb_vendor,
|
||||
msg_ginfo("%s:%s", e->lb_vendor,
|
||||
e->lb_part);
|
||||
}
|
||||
msg_ginfo("\n");
|
||||
|
Reference in New Issue
Block a user