summaryrefslogtreecommitdiffstats
path: root/board_enable.c
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-04 10:58:50 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-04 10:58:50 +0000
commit2eab70da707db42270c72ceaab1bd08a3453118c (patch)
tree0d5c7159dfd9a0c5d470ad74206f973a085699ec /board_enable.c
parent975aa7e2c6444ae81352187a2c979fd1de1f405d (diff)
downloadast2050-flashrom-2eab70da707db42270c72ceaab1bd08a3453118c.zip
ast2050-flashrom-2eab70da707db42270c72ceaab1bd08a3453118c.tar.gz
Allow DMI supported board enables with subsystem ID zero
This is needed for the Intel SE440BX-2 as well as the Asus P5A. Corresponding to flashrom svn r892. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'board_enable.c')
-rw-r--r--board_enable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board_enable.c b/board_enable.c
index ff56d33..1fe41f7 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1305,7 +1305,8 @@ static struct board_pciid_enable *board_match_pci_card_ids(void)
struct board_pciid_enable *board = board_pciid_enables;
for (; board->vendor_name; board++) {
- if (!board->first_card_vendor || !board->first_card_device)
+ if ((!board->first_card_vendor || !board->first_card_device) &&
+ !board->dmi_pattern)
continue;
if (!pci_card_find(board->first_vendor, board->first_device,
OpenPOWER on IntegriCloud