sb,soc/intel: Use acpi_create_madt_ioapic_from_hw()
Change-Id: I9fd9cf230ce21674d1c24b40f310e5558e65be25 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55311 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
@ -92,8 +92,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
||||
current = acpi_create_madt_lapics(current);
|
||||
|
||||
/* IOAPIC */
|
||||
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current,
|
||||
2, IO_APIC_ADDR, 0);
|
||||
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, IO_APIC_ADDR);
|
||||
|
||||
current = acpi_madt_irq_overrides(current);
|
||||
|
||||
|
@ -332,7 +332,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
||||
current = acpi_create_madt_lapics(current);
|
||||
|
||||
/* IOAPIC */
|
||||
current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *)current, 2, IO_APIC_ADDR, 0);
|
||||
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, IO_APIC_ADDR);
|
||||
|
||||
current = acpi_madt_irq_overrides(current);
|
||||
|
||||
|
@ -105,7 +105,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
||||
}
|
||||
} else {
|
||||
/* Default SOC IOAPIC entry */
|
||||
current += acpi_create_madt_ioapic((void *)current, 2, IO_APIC_ADDR, 0);
|
||||
current += acpi_create_madt_ioapic_from_hw((void *)current, IO_APIC_ADDR);
|
||||
}
|
||||
|
||||
return acpi_madt_irq_overrides(current);
|
||||
|
Reference in New Issue
Block a user