Skip to content

Commit dd13752

Browse files
Alan CoxIngo Molnar
authored andcommitted
x86/intel_mid: Fix the Kconfig for MID selection
We currently fail to build on CONFIG_X86_INTEL_MID=y and CONFIG_X86_MRST unset. We could build all the bits to make generic MID work if you picked MID platform alone but that's really silly. Instead use select and two variables. This looks a bit daft right now but once we add a Medfield selection it'll start to look a good deal more sensible. Reported-by: Ingo Molnar <[email protected]> Reported-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Alan Cox <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 45e713e commit dd13752

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/x86/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ config X86_INTEL_CE
390390
This option compiles in support for the CE4100 SOC for settop
391391
boxes and media devices.
392392

393-
config X86_INTEL_MID
393+
config X86_WANT_INTEL_MID
394394
bool "Intel MID platform support"
395395
depends on X86_32
396396
depends on X86_EXTENDED_PLATFORM
@@ -399,7 +399,7 @@ config X86_INTEL_MID
399399
systems which do not have the PCI legacy interfaces (Moorestown,
400400
Medfield). If you are building for a PC class system say N here.
401401

402-
if X86_INTEL_MID
402+
if X86_WANT_INTEL_MID
403403

404404
config X86_MRST
405405
bool "Moorestown MID platform"
@@ -411,6 +411,7 @@ config X86_MRST
411411
select SPI
412412
select INTEL_SCU_IPC
413413
select X86_PLATFORM_DEVICES
414+
select X86_INTEL_MID
414415
---help---
415416
Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
416417
Internet Device(MID) platform. Moorestown consists of two chips:

0 commit comments

Comments
 (0)