diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-08-01 11:25:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-08-01 11:25:41 +0000 |
commit | d98cf5bed93e48f4cb3bdc5219a03207cd01c3ce (patch) | |
tree | 072e22c0b4436607b18af31205c4fc50b3b8911e /src/devices/pci_device.c | |
parent | 8533606db71ef9c4f77983eaea1b2f27c9bb7baf (diff) | |
download | coreboot-d98cf5bed93e48f4cb3bdc5219a03207cd01c3ce.tar.xz |
fix typos and warnings in the device tree code (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pci_device.c')
-rw-r--r-- | src/devices/pci_device.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index f65849ef06..00910f2a8b 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -647,6 +647,7 @@ void pci_dev_set_subsystem(device_t dev, unsigned vendor, unsigned device) void pci_dev_init(struct device *dev) { #if CONFIG_PCI_ROM_RUN == 1 || CONFIG_VGA_ROM_RUN == 1 + void run_bios(struct device * dev, unsigned long addr); struct rom_header *rom, *ram; #if CONFIG_PCI_ROM_RUN != 1 @@ -666,7 +667,7 @@ void pci_dev_init(struct device *dev) if (ram == NULL) return; - run_bios(dev, ram); + run_bios(dev, (unsigned long)ram); #if CONFIG_CONSOLE_VGA == 1 /* vga_inited is a trigger of the VGA console code. */ @@ -1070,7 +1071,7 @@ unsigned int pci_scan_bus(struct bus *bus, } post_code(0x25); - /* Die if any leftover Static devices are are found. + /* Die if any left over static devices are are found. * There's probably a problem in the Config.lb. */ if(old_devices) { @@ -1078,7 +1079,7 @@ unsigned int pci_scan_bus(struct bus *bus, for(left = old_devices; left; left = left->sibling) { printk_err("%s\n", dev_path(left)); } - die("PCI: Left over static devices. Check your Config.lb\n"); + printk_warning("PCI: Left over static devices. Check your mainboard Config.lb\n"); } /* For all children that implement scan_bus (i.e. bridges) |