device/pci_rom: rename pci_rom_acpi_fill_vfct()

Rename pci_rom_acpi_fill_vfct() to ati_rom_acpi_fill_vfct() to make
it clear that the function is only used for AMD/ATI VGA option ROMs.

Change-Id: I0e310dd2d7a0432918861632e09a23e162082ea5
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77634
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2023-09-04 08:32:39 -05:00 committed by Felix Held
parent 7c04d0e6fd
commit 0cd2a50727
1 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ static struct rom_header *check_initialized(const struct device *dev)
}
static unsigned long
pci_rom_acpi_fill_vfct(const struct device *device, acpi_vfct_t *vfct_struct,
ati_rom_acpi_fill_vfct(const struct device *device, acpi_vfct_t *vfct_struct,
unsigned long current)
{
acpi_vfct_image_hdr_t *header = &vfct_struct->image_hdr;
@ -280,7 +280,7 @@ pci_rom_write_acpi_tables(const struct device *device, unsigned long current,
current = ALIGN_UP(current, 8);
vfct = (acpi_vfct_t *)current;
acpi_create_vfct(device, vfct, pci_rom_acpi_fill_vfct);
acpi_create_vfct(device, vfct, ati_rom_acpi_fill_vfct);
if (vfct->header.length) {
printk(BIOS_DEBUG, "ACPI: * VFCT at %lx\n", current);
current += vfct->header.length;