summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-04 22:14:40 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-08 19:43:42 +0000
commit3f3f93bf0668acc88bf6e06c20a87f3bef2d6be9 (patch)
treec491cfea0e769faf2d5e8138fcc11e07129ff997 /src/soc/amd/common/block
parent2dfd48b26de8e61501cc81ad528997b2efa50369 (diff)
soc/amd/common/data_fabric/domain: rename add_io_regions
Rename add_io_regions to add_data_fabric_io_regions to be consistent with add_data_fabric_mmio_regions. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ia990cc14dd6dc162ad614a6e9e0b36426cb04670 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76934 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/data_fabric/domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/data_fabric/domain.c b/src/soc/amd/common/block/data_fabric/domain.c
index 66ad8b3848..cfd4e0fe68 100644
--- a/src/soc/amd/common/block/data_fabric/domain.c
+++ b/src/soc/amd/common/block/data_fabric/domain.c
@@ -150,7 +150,7 @@ static void report_data_fabric_io(struct device *domain, unsigned int idx,
}
/* Tell the resource allocator about the usable I/O space */
-static void add_io_regions(struct device *domain, unsigned int *idx)
+static void add_data_fabric_io_regions(struct device *domain, unsigned int *idx)
{
/* TODO: Systems with more than one PCI root need to read the data fabric registers to
see which IO ranges get decoded to which PCI root. */
@@ -162,7 +162,7 @@ void amd_pci_domain_read_resources(struct device *domain)
{
unsigned int idx = 0;
- add_io_regions(domain, &idx);
+ add_data_fabric_io_regions(domain, &idx);
add_data_fabric_mmio_regions(domain, &idx);