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:
		| @@ -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 */ | /* 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 | 	/* 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. */ | 	   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; | 	unsigned int idx = 0; | ||||||
|  |  | ||||||
| 	add_io_regions(domain, &idx); | 	add_data_fabric_io_regions(domain, &idx); | ||||||
|  |  | ||||||
| 	add_data_fabric_mmio_regions(domain, &idx); | 	add_data_fabric_mmio_regions(domain, &idx); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user