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>
This commit is contained in:
Felix Held 2023-08-04 22:14:40 +02:00
parent 2dfd48b26d
commit 3f3f93bf06
1 changed files with 2 additions and 2 deletions

View File

@ -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);