diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-01-04 00:48:27 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-01-04 00:48:27 +0000 |
commit | 2d927fbd7bbfd6d03280757d447991a60c690c6e (patch) | |
tree | 7f14a4305d587d4ff56c1b3f764a9016dba5d03b /board_enable.c | |
parent | 9bcf2684d7781de71551ab14d3c3be46890ca432 (diff) | |
download | flashrom-2d927fbd7bbfd6d03280757d447991a60c690c6e.tar.gz flashrom-2d927fbd7bbfd6d03280757d447991a60c690c6e.tar.bz2 flashrom-2d927fbd7bbfd6d03280757d447991a60c690c6e.zip |
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>
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/board_enable.c b/board_enable.c index bdd5db316..2229f8b13 100644 --- a/board_enable.c +++ b/board_enable.c @@ -2070,7 +2070,8 @@ static int it8718f_gpio63_raise(void) * The coreboot ids are used two fold. When running with a coreboot firmware, * the ids uniquely matches the coreboot board identification string. When a * legacy bios is installed and when autodetection is not possible, these ids - * can be used to identify the board through the -m command line argument. + * can be used to identify the board through the -p internal:mainboard= + * programmer parameter. * * When a board is identified through its coreboot ids (in both cases), the * main pci ids are still required to match, as a safeguard. @@ -2245,7 +2246,8 @@ static const struct board_match *board_match_cbname(const char *vendor, msg_pinfo("AMBIGUOUS BOARD NAME: %s\n", part); msg_pinfo("At least vendors '%s' and '%s' match.\n", partmatch->lb_vendor, board->lb_vendor); - msg_perr("Please use the full -m vendor:part syntax.\n"); + msg_perr("Please use the full -p internal:mainboard=" + "vendor:part syntax.\n"); return NULL; } partmatch = board; @@ -2259,7 +2261,8 @@ static const struct board_match *board_match_cbname(const char *vendor, * coreboot table. If it was, the coreboot implementor is * expected to fix flashrom, too. */ - msg_perr("\nUnknown vendor:board from -m option: %s:%s\n\n", + msg_perr("\nUnknown vendor:board from -p internal:mainboard=" + " programmer parameter:\n%s:%s\n\n", vendor, part); } return NULL; |