aopen/dxplplusu: Use ACPI_COMMON_MADT_IOAPIC

IRQ override from IRQ #0 to GSI #2 is changed from
MP_BUS_EISA to MP_BUS_ISA.

Change-Id: I115df037fd79e120b04e6aff9e53f963f045b997
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74352
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki 2023-04-08 09:52:10 +03:00
parent 6437409b76
commit ac61a65fef
3 changed files with 2 additions and 9 deletions

View File

@ -2,6 +2,7 @@ if BOARD_AOPEN_DXPLPLUSU
config BOARD_SPECIFIC_OPTIONS
def_bool y
select ACPI_CUSTOM_MADT
select CPU_INTEL_SOCKET_MPGA604
select NORTHBRIDGE_INTEL_E7505
select SOUTHBRIDGE_INTEL_I82870

View File

@ -8,9 +8,6 @@ unsigned long acpi_fill_madt(unsigned long current)
struct device *bdev, *dev = NULL;
struct resource *res = NULL;
/* Southbridge IOAPIC */
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, 0xfec00000);
bdev = pcidev_on_root(2, 0);
/* P64H2 Bus B IOAPIC */
if (bdev)
@ -28,11 +25,5 @@ unsigned long acpi_fill_madt(unsigned long current)
current += acpi_create_madt_ioapic_from_hw((acpi_madt_ioapic_t *)current, res->base);
}
/* Map ISA IRQ 0 to IRQ 2 */
current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *)current, 1, 0, 2, 0);
/* IRQ9 differs from ISA standard - ours is active high, level-triggered */
current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *)current, 0, 9, 9, 0xD);
return current;
}

View File

@ -2,6 +2,7 @@
config SOUTHBRIDGE_INTEL_I82801DX
bool
select ACPI_COMMON_MADT_IOAPIC
select ACPI_COMMON_MADT_LAPIC
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
select HAVE_SMI_HANDLER