summaryrefslogtreecommitdiff
path: root/board_enable.c
diff options
context:
space:
mode:
authormkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-04 10:58:50 +0000
committermkarcher <mkarcher@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-04 10:58:50 +0000
commitfd1ac066248cff6ed04c60e77e490fa8f9e36808 (patch)
tree0d5c7159dfd9a0c5d470ad74206f973a085699ec /board_enable.c
parentefad14885a50a8ff9df3c4825699ec5b06412e60 (diff)
downloadflashrom-fd1ac066248cff6ed04c60e77e490fa8f9e36808.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. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@892 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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,