Print PCI ID of PCH during boot up

Right now, if we have an unknown PCH, coreboot will print something like
this:

PCH type: Unknown rev id 4

Instead, it should also print the PCI ID of the device, so we can add it
to the list of known PCHes.

Change-Id: Ib0b96e287c36d2895d1287b1734ca13d75e7985a
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1287
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Stefan Reinauer 2012-06-18 11:26:25 -07:00 committed by Patrick Georgi
parent a9f670a760
commit 542e9628ae
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ static void report_pch_info(void)
break;
}
}
printk (BIOS_DEBUG, "PCH type: %s rev id %x\n",
pch_type, pci_read_config8(PCH_LPC_DEV, 8));
printk (BIOS_DEBUG, "PCH type: %s, device id: %x, rev id %x\n",
pch_type, dev_id, pci_read_config8(PCH_LPC_DEV, 8));
}
void report_platform_info(void)