diff options
author | Hannes Schmelzer <oe5hpm@oevsv.at> | 2018-11-18 23:19:43 +0100 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-12-10 10:12:29 +0800 |
commit | da4cfa6b442809fc99a6b75255a99eee51a4e13b (patch) | |
tree | 62e83f5f17430bf13b45b28da6a3adcad65f3ddb /arch/x86/cpu/Makefile | |
parent | 73af0601e1d63f54cc9b704e07e9093a35e7d6f1 (diff) | |
download | u-boot-da4cfa6b442809fc99a6b75255a99eee51a4e13b.tar.gz |
x86: make the LAPIC / IOAPIC construct switchable with Kconfig
There are still systems running which do not have any LAPIC or even
IOAPIC. Responsible MSRs for those do not exist and the systems are
crashing on trying to setup LAPIC.
This commit makes the APIC stuff able to switch off for those boards
which dont' have an LAPIC / IOAPIC.
Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/Makefile')
-rw-r--r-- | arch/x86/cpu/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/Makefile b/arch/x86/cpu/Makefile index f862d8c071..54668aab24 100644 --- a/arch/x86/cpu/Makefile +++ b/arch/x86/cpu/Makefile @@ -35,7 +35,7 @@ obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/ obj-$(CONFIG_INTEL_QUARK) += quark/ obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/ obj-$(CONFIG_INTEL_TANGIER) += tangier/ -obj-y += lapic.o ioapic.o +obj-$(CONFIG_APIC) += lapic.o ioapic.o obj-y += irq.o ifndef CONFIG_$(SPL_)X86_64 obj-$(CONFIG_SMP) += mp_init.o |