1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 15:33:42 +02:00

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>
This commit is contained in:
Michael Karcher 2010-02-04 10:58:50 +00:00
parent 975aa7e2c6
commit 2eab70da70

View File

@ -1305,7 +1305,8 @@ static struct board_pciid_enable *board_match_pci_card_ids(void)
struct board_pciid_enable *board = board_pciid_enables; struct board_pciid_enable *board = board_pciid_enables;
for (; board->vendor_name; board++) { 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; continue;
if (!pci_card_find(board->first_vendor, board->first_device, if (!pci_card_find(board->first_vendor, board->first_device,