summaryrefslogtreecommitdiffstats
path: root/device/pci_device.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-03-11 16:17:37 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-03-11 16:17:37 +0000
commit5a90884bd46b8b88bba14476c6ca37e968760848 (patch)
treeabeb0846e5acc3d98ff699b4606d010967c164ac /device/pci_device.c
parent1ef9d2f412e6e18bec9a268d9bacf8d4d6374158 (diff)
downloadcoreboot-5a90884bd46b8b88bba14476c6ca37e968760848.tar.gz
coreboot-5a90884bd46b8b88bba14476c6ca37e968760848.tar.bz2
coreboot-5a90884bd46b8b88bba14476c6ca37e968760848.zip
last kontron commit.
This is a potentially good pointer to where someone can take this. While startup was working, BSP now explodes once the AP stops, while BSP is doing startup IPI loop send #2. The code needs to be hardened; I think use of the shared variables would really make it much more solid. This would be a good undergrad student project if someone is looking for one. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@1145 f3766cd6-281f-0410-b1cd-43a5c92072e9
Diffstat (limited to 'device/pci_device.c')
-rw-r--r--device/pci_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/pci_device.c b/device/pci_device.c
index c76092dfddb2..c5cee3c540e9 100644
--- a/device/pci_device.c
+++ b/device/pci_device.c
@@ -1304,7 +1304,8 @@ unsigned int do_pci_scan_bridge(struct device *dev, unsigned int max,
pci_write_config32(dev, PCI_PRIMARY_BUS, buses);
pci_write_config16(dev, PCI_COMMAND, cr);
- printk(BIOS_DEBUG, "%s DONE\n", __func__);
+ printk(BIOS_DEBUG, "%s DONE: [%x, %x, %x]\n", __func__,
+ dev->bus->secondary, bus->secondary, bus->subordinate);
printk(BIOS_SPEW, "%s returns max %d\n", __func__, max);
return max;
}