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:
parent
7c04d0e6fd
commit
0cd2a50727
|
@ -219,7 +219,7 @@ static struct rom_header *check_initialized(const struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned long
|
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)
|
unsigned long current)
|
||||||
{
|
{
|
||||||
acpi_vfct_image_hdr_t *header = &vfct_struct->image_hdr;
|
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);
|
current = ALIGN_UP(current, 8);
|
||||||
vfct = (acpi_vfct_t *)current;
|
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) {
|
if (vfct->header.length) {
|
||||||
printk(BIOS_DEBUG, "ACPI: * VFCT at %lx\n", current);
|
printk(BIOS_DEBUG, "ACPI: * VFCT at %lx\n", current);
|
||||||
current += vfct->header.length;
|
current += vfct->header.length;
|
||||||
|
|
Loading…
Reference in New Issue