| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <arch/ioapic.h> |
| 4 | #include <console/console.h> |
| 5 | #include <intelblocks/lpc_lib.h> |
| 6 | |
| 7 | void lpc_soc_init(struct device *dev) |
| 8 | { |
| 9 | printk(BIOS_SPEW, "pch: lpc_init\n"); |
| 10 | |
| 11 | if (CONFIG(SOC_INTEL_SKYLAKE_SP)) { |
| 12 | /* FSP only configures PCH IOAPIC, but it doesn't configure PCI IOAPICs. |
| 13 | * Let coreboot handle all IOAPICs and assign unique IDs to each. */ |
| 14 | register_new_ioapic_gsi0(IO_APIC_ADDR); |
| 15 | } |
| 16 | } |