summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/chip.c
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-05-04 16:41:22 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-05-12 20:07:25 +0000
commit5cb34e2ea0034f3d3781006234a0c8b66f4efcfe (patch)
tree6a06c0cef8e1d2a4367eec3bcf6451f8e10609db /src/soc/intel/cannonlake/chip.c
parent194695fd953a2a8bd10eedc9aa7811c338988d3d (diff)
downloadcoreboot-5cb34e2ea0034f3d3781006234a0c8b66f4efcfe.tar.xz
device/pci_device: Extract pci_domain_set_resources from SOC
pci_domain_set_resources is duplicated in all the SOCs. This change promotes the duplicated function. Picasso was adding it again in the northbridge patch. I decided to promote the function instead of duplicating it. BUG=b:147042464 TEST=Build and boot trembyle. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: Iba9661ac2c3a1803783d5aa32404143c9144aea5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41041 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/cannonlake/chip.c')
-rw-r--r--src/soc/intel/cannonlake/chip.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c
index a137762ad6..51678add67 100644
--- a/src/soc/intel/cannonlake/chip.c
+++ b/src/soc/intel/cannonlake/chip.c
@@ -168,11 +168,6 @@ void soc_init_pre_device(void *chip_info)
soc_gpio_pm_configuration();
}
-static void pci_domain_set_resources(struct device *dev)
-{
- assign_resources(dev->link_list);
-}
-
static struct device_operations pci_domain_ops = {
.read_resources = &pci_domain_read_resources,
.set_resources = &pci_domain_set_resources,