diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-08-20 00:24:22 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-08-20 00:24:22 +0000 |
commit | b4974d83f7610a62262ec0648e549c4dc8f8b8b6 (patch) | |
tree | 481c52c32309f394131ea7bb6e2792eb91e8faf4 /flashrom.8 | |
parent | 56f1ee40919a81db014844d7235c9ecf32a33e00 (diff) | |
download | flashrom-b4974d83f7610a62262ec0648e549c4dc8f8b8b6.zip flashrom-b4974d83f7610a62262ec0648e549c4dc8f8b8b6.tar.gz |
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>
Diffstat (limited to 'flashrom.8')
-rw-r--r-- | flashrom.8 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |