From d5d94ea90a9402b480cde91febe1dc7d85f626b5 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 18 Oct 2014 02:13:11 +0200 Subject: intel/i945: Consolidate MADT handling Change-Id: Ic3cdfa6086a45aa231aa817d5ef6998823589818 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/7108 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/getac/p470/acpi_tables.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/mainboard/getac') diff --git a/src/mainboard/getac/p470/acpi_tables.c b/src/mainboard/getac/p470/acpi_tables.c index 1f898205a1..7228f5c25a 100644 --- a/src/mainboard/getac/p470/acpi_tables.c +++ b/src/mainboard/getac/p470/acpi_tables.c @@ -81,30 +81,6 @@ static long acpi_create_ecdt(acpi_ecdt_t * ecdt) return header->length; } -unsigned long acpi_fill_madt(unsigned long current) -{ - /* Local APICs */ - current = acpi_create_madt_lapics(current); - - /* IOAPIC */ - current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current, - 2, IO_APIC_ADDR, 0); - - /* INT_SRC_OVR */ - current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) - current, 0, 0, 2, 0); - current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *) - current, 0, 9, 9, MP_IRQ_TRIGGER_LEVEL | MP_IRQ_POLARITY_HIGH); - - /* LAPIC_NMI */ - current += acpi_create_madt_lapic_nmi((acpi_madt_lapic_nmi_t *) - current, 0, 0x0005, 0x01); - current += acpi_create_madt_lapic_nmi((acpi_madt_lapic_nmi_t *) - current, 1, 0x0005, 0x01); - - return current; -} - #define ALIGN_CURRENT current = (ALIGN(current, 16)) unsigned long mainboard_write_acpi_tables(device_t device, unsigned long start, -- cgit v1.2.3