summaryrefslogtreecommitdiff
path: root/src/northbridge/rdc/r8610
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-07-03 10:51:34 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-11 01:29:35 +0200
commit33e5df3f25b4594c008788625cd405d988fc6e6b (patch)
treeddccf1263e8a71fe9d12202aa2a4c374c5a4e336 /src/northbridge/rdc/r8610
parent52914323bf876342ab3497bfc527f139680d1612 (diff)
Set PCI bus operations at buildtime for ramstage
PCI bus operations are static through the ramstage, and should be initialized from the very beginning. For all the replaced instances, there is no MMCONF_SUPPORT nor MMCONF_SUPPORT_DEFAULT selected for the northbridge, so these continue to use PCI IO config access. Change-Id: I658abd4a02aa70ad4c9273568eb5560c6e572fb1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3607 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/rdc/r8610')
-rw-r--r--src/northbridge/rdc/r8610/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/rdc/r8610/northbridge.c b/src/northbridge/rdc/r8610/northbridge.c
index e97f10a6b3..92025a09d1 100644
--- a/src/northbridge/rdc/r8610/northbridge.c
+++ b/src/northbridge/rdc/r8610/northbridge.c
@@ -108,6 +108,7 @@ static struct device_operations pci_domain_ops = {
.enable_resources = NULL,
.init = NULL,
.scan_bus = pci_domain_scan_bus,
+ .ops_pci_bus = pci_bus_default_ops,
#if CONFIG_GENERATE_SMBIOS_TABLES
.get_smbios_data = rdc_get_smbios_data,
#endif
@@ -118,7 +119,6 @@ static void enable_dev(struct device *dev)
/* Set the operations if it is a special bus type */
if (dev->path.type == DEVICE_PATH_DOMAIN) {
dev->ops = &pci_domain_ops;
- pci_set_method(dev);
}
}