mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 14:11:29 +01:00
x86: acpi: Correct the version of the MADT
Currently U-Boot implements version 2 but reports version 4. Correct it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
This commit is contained in:
parent
a308b1fa39
commit
22a7396f7f
@ -155,7 +155,7 @@ static void acpi_create_madt(struct acpi_madt *madt)
|
|||||||
/* Fill out header fields */
|
/* Fill out header fields */
|
||||||
acpi_fill_header(header, "APIC");
|
acpi_fill_header(header, "APIC");
|
||||||
header->length = sizeof(struct acpi_madt);
|
header->length = sizeof(struct acpi_madt);
|
||||||
header->revision = 4;
|
header->revision = ACPI_MADT_REV_ACPI_3_0;
|
||||||
|
|
||||||
madt->lapic_addr = LAPIC_DEFAULT_BASE;
|
madt->lapic_addr = LAPIC_DEFAULT_BASE;
|
||||||
madt->flags = ACPI_MADT_PCAT_COMPAT;
|
madt->flags = ACPI_MADT_PCAT_COMPAT;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user