mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Refactor the -p internal:mainboard handling
This patch gets rid of some global variables and makes lots of bits along the code path that control the board enable execution more generic and clearer. From now on flashrom aborts on a few more occasions that should be safer for the user. For example it aborts if the enable function for the specified mainboard (enable) can not be found. Parts of the board_match_cbname refactoring were done by Carl-Daniel. Corresponding to flashrom svn r1577. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
@ -259,7 +259,7 @@ and possibly DMI info. If PCI and DMI do not contain information to uniquely
|
||||
identify the mainboard (which is the exception), or if you want to override
|
||||
the detected mainboard model, you can specify the mainboard using the
|
||||
.sp
|
||||
.B " flashrom \-p internal:mainboard=[<vendor>:]<board>"
|
||||
.B " flashrom \-p internal:mainboard=<vendor>:<board>"
|
||||
syntax.
|
||||
.sp
|
||||
See the 'Known boards' or 'Known laptops' section in the output
|
||||
|
Reference in New Issue
Block a user