IOAPIC defaults to y when LOAPIC is enabled

For as long as the IOAPIC and LOAPIC code is coupled (as it currently is),
enabling LOAPIC must select IOAPIC to be enabled as well.  If future commits
separate the two, then the "select IOAPIC" can be dropped.

Change-Id: Ibe7e6b86e5add19b8b3cc68ebecce760d8914c86
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-07-28 13:24:23 -04:00 committed by Anas Nashif
commit b643468280

View file

@ -41,14 +41,15 @@ config PIC
config LOAPIC
bool "LOAPIC"
default n
select IOAPIC
depends on X86_32
help
This option selects local APIC as the interrupt controller.
config IOAPIC
bool "IOAPIC"
default n
depends on X86_32 && LOAPIC
default y
depends on LOAPIC
help
This option signifies that the target has an IO-APIC device. This
capability allows IO-APIC-dependent code to be included.