Always enable parent resources before child resources.
Always initialize parents before children. Move s2881 code into a driver. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5633 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -667,17 +667,10 @@ static void southbridge_enable(struct device *dev)
|
||||
|
||||
}
|
||||
|
||||
static void cs5536_pci_dev_enable_resources(device_t dev)
|
||||
{
|
||||
printk(BIOS_DEBUG, "%s()\n", __func__);
|
||||
pci_dev_enable_resources(dev);
|
||||
enable_childrens_resources(dev);
|
||||
}
|
||||
|
||||
static struct device_operations southbridge_ops = {
|
||||
.read_resources = cs5536_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = cs5536_pci_dev_enable_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = southbridge_init,
|
||||
// .enable = southbridge_enable,
|
||||
.scan_bus = scan_static_bus,
|
||||
|
Reference in New Issue
Block a user