• Stefan Tauner's avatar
    Be more refined regarding DMI chassis types · a34d7190
    Stefan Tauner authored
    
    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: default avatarStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
    Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
    a34d7190
internal.c 8.85 KB