Use subsystem id from devicetree.cb instead of Kconfig and move

all boards to the new config scheme.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Peter Stuge <peter@stuge.se>

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6421 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Sven Schnelle
2011-03-01 19:58:47 +00:00
parent 270a908646
commit 91321028ec
158 changed files with 131 additions and 573 deletions

View File

@@ -71,13 +71,11 @@ static void ich_pci_dev_enable_resources(struct device *dev)
/* Set the subsystem vendor and device id for mainboard devices */
ops = ops_pci(dev);
if (dev->on_mainboard && ops && ops->set_subsystem) {
printk(BIOS_DEBUG, "%s subsystem <- %02x/%02x\n",
dev_path(dev),
mainboard_pci_subsystem_vendor_id(dev),
mainboard_pci_subsystem_device_id(dev));
ops->set_subsystem(dev,
mainboard_pci_subsystem_vendor_id(dev),
mainboard_pci_subsystem_device_id(dev));
printk(BIOS_DEBUG, "%s subsystem <- %04x/%04x\n",
dev_path(dev), dev->subsystem_vendor,
dev->subsystem_device);
ops->set_subsystem(dev, dev->subsystem_vendor,
dev->subsystem_device);
}
command = pci_read_config16(dev, PCI_COMMAND);