summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-09-04 08:32:39 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-09-06 22:07:50 +0000
commit0cd2a50727093d06b53039e7be5f341800c31fbe (patch)
treebcc7a5163946831a3a50e7d80d24968872fe6110 /src
parent7c04d0e6fdaedaf6ee336485df939963fa6c0c1a (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/device/pci_rom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index debefb248c..46bf1144bc 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -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;