diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-26 00:54:42 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-26 00:54:42 +0000 |
commit | a34d7190377cb085df5346e58405c117dbaede29 (patch) | |
tree | cb91d6d51031de7b195f4586549603e3a0e82080 /flashchips.c | |
parent | 46fa068fa21353efe41d9b41092817f7a6f5a4aa (diff) | |
download | flashrom-a34d7190377cb085df5346e58405c117dbaede29.tar.gz flashrom-a34d7190377cb085df5346e58405c117dbaede29.tar.bz2 flashrom-a34d7190377cb085df5346e58405c117dbaede29.zip |
Be more refined regarding DMI chassis types
We had broken laptops in the past that were not detected as such because
their DMI chassis-type was either undefined/out-of-spec, or set to
'other' or 'unknown'.
this patch tries to mitigate this problem as follows:
- if the DMI chassis-type clearly identifies the system as
laptop/notebook/mobile platform then nothing changes: the user gets
the laptop warning without a hint to the force switch.
- if the DMI chassis-type is not specific enough, we warn the user
similarly, but tell them the switch.
to reduce the number of false positives i have added a few new
chassis types that we have encountered in the last months to the list.
Corresponding to flashrom svn r1390.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
0 files changed, 0 insertions, 0 deletions