summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-06 08:27:15 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-12 15:48:49 +0000
commit401ec98e067985431e8e263f7eecef31348d785c (patch)
tree6a03ac19a3dd34ddfc7d8ecc2e9d55602115a0c3 /src/soc/intel/xeon_sp
parent8997e7b5aec28b00d9ac15922d451d60b6188325 (diff)
arch/x86/ioapic: Add get_ioapic_id() and get_ioapic_version()
Change-Id: I4ad080653c9af94a4dc73d93ddc4c8c117a682b9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55282 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp')
-rw-r--r--src/soc/intel/xeon_sp/lpc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/intel/xeon_sp/lpc.c b/src/soc/intel/xeon_sp/lpc.c
index dad0a4914d..7b46564588 100644
--- a/src/soc/intel/xeon_sp/lpc.c
+++ b/src/soc/intel/xeon_sp/lpc.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <console/console.h>
-#include <arch/ioapic.h>
#include <intelblocks/lpc_lib.h>
#include <soc/iomap.h>
#include <soc/pcr_ids.h>
@@ -23,9 +22,7 @@ void lpc_soc_init(struct device *dev)
printk(BIOS_SPEW, "pch: lpc_init\n");
/* FSP configures IOAPIC and PCHInterrupt Config */
- printk(BIOS_SPEW, "IOAPICID 0x%x, 0x%x\n",
- io_apic_read((void *)IO_APIC_ADDR, 0x00),
- ((io_apic_read((void *)IO_APIC_ADDR, 0x00) & 0x0f000000) >> 24));
+ /* Should read back the ID to fill ACPI IOAPIC accordingly. */
}
void pch_lpc_soc_fill_io_resources(struct device *dev)