sb,soc/amd,intel: Add and use ACPI_COMMON_MADT_LAPIC
Boards with SOC_INTEL_COMMON_BLOCK_ACPI_CPU_HYBRID have special handling for the time being. Change of aopen/dxplplusu is coupled with sb/intel/i82801dx. Change of emulation/qemu-i440fx is coupled with intel/i82371eb. For asus/p2b, this adds MADT LAPIC entries, even though platform has ACPI_NO_MADT selected. Even previously ACPI_NO_MADT creates the MADT, including an entry for LAPIC address. Change-Id: I1f8d7ee9891553742d73a92b55a87c04fa95a132 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74316 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@ -312,6 +312,9 @@ void acpi_create_madt(acpi_madt_t *madt)
|
||||
if (CONFIG(ACPI_HAVE_PCAT_8259))
|
||||
madt->flags |= 1;
|
||||
|
||||
if (CONFIG(ACPI_COMMON_MADT_LAPIC))
|
||||
current = acpi_create_madt_lapics_with_nmis(current);
|
||||
|
||||
if (!CONFIG(ACPI_NO_MADT))
|
||||
current = acpi_fill_madt(current);
|
||||
|
||||
|
Reference in New Issue
Block a user