1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-30 08:23:42 +02:00

Print found PCI IDs during chipset detection

Add debug output of the exact matched chipset PCI ID to keep track of
tested PCI IDs for chipsets with one name and multiple IDs. This will
help avoid problems similar to the Tyan S2915 OEM undetected flash in
the future.

Corresponding to flashrom svn r1008.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
Carl-Daniel Hailfinger 2010-05-22 07:31:50 +00:00
parent 33d7b6aa89
commit f469c271ac

View File

@ -1447,6 +1447,9 @@ int chipset_flash_enable(void)
msg_pinfo("Found chipset \"%s %s\", enabling flash write... ", msg_pinfo("Found chipset \"%s %s\", enabling flash write... ",
chipset_enables[i].vendor_name, chipset_enables[i].vendor_name,
chipset_enables[i].device_name); chipset_enables[i].device_name);
msg_pdbg("chipset PCI ID is %04x:%04x, ",
chipset_enables[i].vendor_id,
chipset_enables[i].device_id);
ret = chipset_enables[i].doit(dev, ret = chipset_enables[i].doit(dev,
chipset_enables[i].device_name); chipset_enables[i].device_name);