summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-12 20:37:38 +0100
committerMartin L Roth <martinroth@google.com>2022-04-24 21:23:10 +0000
commit210b9155a9cd49650a1ed6b1611e95b7c11cef93 (patch)
treed1171277d0c0b079299ae847eca076d869b24432 /src/drivers
parent4d871005f8a30cd7b117f77dbda337a910ae4725 (diff)
{drivers,northbridge,security}: Remove unused <cpu/x86/lapic.h>
Found using: diff <(git grep -l '#include <cpu/x86/lapic.h>' -- src/) <(git grep -l 'xapic_read\|xapic_write\|xapic_send_ipi\|xapic_busy\|x2apic_read\|x2apic_write\|x2apic_send_ipi\|is_x2apic_mode\|lapic_read\|lapic_write\|lapic_update32\|lapic_send_ipi\|lapic_busy\|initial_lapicid\|lapicid\|stop_this_cpu\|enable_lapic\|disable_lapic\|setup_lapic' -- src/) |grep ">" Change-Id: Ie8fcf61a0604281c23cd3f589f1aa0cdbbd9366b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61048 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/generic/ioapic/ioapic.c1
-rw-r--r--src/drivers/intel/fsp2_0/ppi/mp_service_ppi.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/generic/ioapic/ioapic.c b/src/drivers/generic/ioapic/ioapic.c
index 0097c594af..818448438e 100644
--- a/src/drivers/generic/ioapic/ioapic.c
+++ b/src/drivers/generic/ioapic/ioapic.c
@@ -3,7 +3,6 @@
#include <device/device.h>
#include "chip.h"
#include <arch/ioapic.h>
-#include <cpu/x86/lapic.h>
static void ioapic_init(struct device *dev)
{
diff --git a/src/drivers/intel/fsp2_0/ppi/mp_service_ppi.c b/src/drivers/intel/fsp2_0/ppi/mp_service_ppi.c
index 9aef1b6dce..53d91822b8 100644
--- a/src/drivers/intel/fsp2_0/ppi/mp_service_ppi.c
+++ b/src/drivers/intel/fsp2_0/ppi/mp_service_ppi.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <cpu/cpu.h>
#include <cpu/x86/mp.h>
-#include <cpu/x86/lapic.h>
#include <cpu/intel/microcode.h>
#include <fsp/api.h>
#include <fsp/ppi/mp_service_ppi.h>