Skip to content
Snippets Groups Projects
Commit d3d66472 authored by Bin Meng's avatar Bin Meng
Browse files

x86: baytrail: acpi: Fix I/O APIC ID in the MADT table


So far this is hardcoded to 2, but it should really be read
from the I/O APIC register.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent e6ddb6b0
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ u32 acpi_fill_madt(u32 current) ...@@ -155,7 +155,7 @@ u32 acpi_fill_madt(u32 current)
current += acpi_create_madt_lapics(current); current += acpi_create_madt_lapics(current);
current += acpi_create_madt_ioapic((struct acpi_madt_ioapic *)current, current += acpi_create_madt_ioapic((struct acpi_madt_ioapic *)current,
2, IO_APIC_ADDR, 0); io_apic_read(IO_APIC_ID) >> 24, IO_APIC_ADDR, 0);
current += acpi_create_madt_irq_overrides(current); current += acpi_create_madt_irq_overrides(current);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment