Changeset 1483 for trunk/flashrom.8


Ignore:
Timestamp:
Jan 4, 2012 1:48:27 AM (18 months ago)
Author:
hailfinger
Message:

Replace --mainboard with -p internal:mainboard

--mainboard is a relic from a time before external programmers and makes
the CLI inconsistent.
Use a programmer parameter instead and free up the short option -m.

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.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>
Acked-by: Stefan Tauner <stefan.tauner@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashrom.8

    r1461 r1483  
    66\fB\-L\fR|\fB\-z\fR|\fB\-E\fR|\fB\-r\fR <file>|\fB\-w\fR <file>|\ 
    77\fB\-v\fR <file>] 
    8          [\fB\-c\fR <chipname>] [\fB\-m\fR [<vendor>:]<board>] \ 
     8         [\fB\-c\fR <chipname>] \ 
    99[\fB\-l\fR <file>] 
    1010         [\fB\-i\fR <image>] [\fB\-p\fR <programmername>[:<parameters>]] 
     
    8989case sensitive. 
    9090.TP 
    91 .B "\-m, \-\-mainboard" [<vendor>:]<board> 
    92 Override mainboard settings. 
    93 .sp 
    94 flashrom reads the coreboot table to determine the current mainboard. If no 
    95 coreboot table could be read or if you want to override these values, you can 
    96 specify \-m, e.g.: 
    97 .sp 
    98 .B "  flashrom \-\-mainboard AGAMI:ARUMA \-w agami_aruma.rom" 
    99 .sp 
    100 See the 'Known boards' or 'Known laptops' section in the output 
    101 of 'flashrom \-L' for a list of boards which require the specification of 
    102 the board name, if no coreboot table is found. 
    103 .TP 
    10491.B "\-f, \-\-force" 
    10592Force one or more of the following actions: 
     
    246233Otherwise, the mainboard is detected by examining the onboard PCI devices 
    247234and possibly DMI info. If PCI and DMI do not contain information to uniquely 
    248 identify the mainboard (which is the exception), it might be necessary to 
    249 specify the mainboard using the 
    250 .B \-m 
    251 switch (see above). 
     235identify the mainboard (which is the exception), or if you want to override 
     236the detected mainboard model, you can specify the mainboard using the 
     237.sp 
     238.B "  flashrom \-p internal:mainboard=[<vendor>:]<board>" 
     239syntax. 
     240.sp 
     241See the 'Known boards' or 'Known laptops' section in the output 
     242of 'flashrom \-L' for a list of boards which require the specification of 
     243the board name, if no coreboot table is found. 
    252244.sp 
    253245Some of these board-specific flash enabling functions (called 
Note: See TracChangeset for help on using the changeset viewer.