This patch adds support for the Abit BM6 board, using DMI string identification.
Signed-off-by: Tim ter Laak timl@scintilla.utwente.nl ---
On Sun, 5 Sep 2010, Tim ter Laak wrote:
On Sat, 4 Sep 2010, Carl-Daniel Hailfinger wrote:
flashrom supports DMI matching since a few months, so it may be possible to identify your board that way. And with superiotool output, we could perhaps improve matching a bit more.
If DMI is useful on your board, we could try to match the DMI strings and avoid the -m abit:ab-bm6 parameter for flashrom.
The combination of the 'baseboard-manufacturer' and 'baseboard-product-name' DMI strings looks promising. (The empty contents of other strings is completely in line with expectations; after all the BIOS didn't bother to assign subsystem IDs to the PCI devices of the chipset either.)
I'll be poking around in the source in the next few days to port my patch to the current version of flashrom. It would take a while to get up to speed again though, so I'm also open to testing other people's patches.
Well, that was a lot easier than expected. As per commit log message at the top of this mail, the patch is attached. Patch is tested and seems to work fine.
Tim.