]> git.baikalelectronics.ru Git - uboot.git/commit
x86: make the LAPIC / IOAPIC construct switchable with Kconfig
authorHannes Schmelzer <oe5hpm@oevsv.at>
Sun, 18 Nov 2018 22:19:43 +0000 (23:19 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 10 Dec 2018 02:12:29 +0000 (10:12 +0800)
commit4b429aa53d1408a850e1c30c8a3b25c09fdefbd9
tree62e83f5f17430bf13b45b28da6a3adcad65f3ddb
parent484e45160e6a5807b32d649e475251c6260086e7
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>
arch/x86/Kconfig
arch/x86/cpu/Makefile
arch/x86/cpu/i386/interrupt.c