Commit Graph

4 Commits

Author SHA1 Message Date
Richard Hughes
cc7c44312b Correctly fall back to the compatible vendor when FDT vendor is missing
Fixes https://github.com/fwupd/fwupd/issues/5530
2023-02-14 13:52:04 +00:00
Richard Hughes
fd5d84a8f5 trivial: Never add missing FDT values as a HwID 2023-02-14 13:52:04 +00:00
Richard Hughes
c647d0d0f6 Parse the DT chassis-type when parsing the FDT 2023-01-18 18:20:35 +00:00
Richard Hughes
2b0f92506b Refactor the hwids functionality
This refactors the code as it was getting very confusing; before FuSmbios was
reading both SMBIOS and the kernel-provided DT -- and various things were
injecting overrides in three different place. To properly support FDT remove
one layer of indirection.

This also lets us use the compatible strings to enable plugins specifying the
flag _REQUIRE_HWID -- which means we only load the plugin if it's got a chance
of working. e.g.

    [aspeed,ast2500]
2023-01-18 07:04:44 +00:00