aboutsummaryrefslogtreecommitdiffstats
path: root/bitbang_spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-05 07:12:40 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-05 07:12:40 +0000
commit580d29a9b13b828039ff58c2b3cc69a3d9bc2666 (patch)
tree27f06e9e298630e25a624033967e8b31c6d73861 /bitbang_spi.c
parent4c82318e4ac57b6da384700fb9d454535b62b3ae (diff)
downloadflashrom-580d29a9b13b828039ff58c2b3cc69a3d9bc2666.tar.gz
flashrom-580d29a9b13b828039ff58c2b3cc69a3d9bc2666.tar.bz2
flashrom-580d29a9b13b828039ff58c2b3cc69a3d9bc2666.zip
Revamp board-specific quirk handling, allow for laptop support
Handle board-specific quirks in three phases: 1. Before Super I/O probing (e.g. blacklisting of some Super I/O probes, or unhiding the Super I/O) 2. Before the laptop enforcement decision (e.g. whitelisting a laptop for flashing) 3. After chipset enabling (all current board enables) Implementation note: All entries in board_pciid_enables get an additional phase parameter. Alternative variants (3 tables instead of 1) also have their downsides, and I chose table bloat over table multiplication). With this patch, it should be possible to whitelist supported laptops with a matching entry (phase P2) in board_pciid_enables which points to a function setting laptop_ok=1. (In case DMI is broken, matching might be a little bit more difficult, but it is still doable.) Corresponding to flashrom svn r1294. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'bitbang_spi.c')
0 files changed, 0 insertions, 0 deletions