Commit dd137525 authored by Alan Cox's avatar Alan Cox Committed by Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
Reported-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/r/20111205231433.28811.51297.stgit@bob.linux.org.ukSigned-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 45e713ef
...@@ -390,7 +390,7 @@ config X86_INTEL_CE ...@@ -390,7 +390,7 @@ config X86_INTEL_CE
This option compiles in support for the CE4100 SOC for settop This option compiles in support for the CE4100 SOC for settop
boxes and media devices. boxes and media devices.
config X86_INTEL_MID config X86_WANT_INTEL_MID
bool "Intel MID platform support" bool "Intel MID platform support"
depends on X86_32 depends on X86_32
depends on X86_EXTENDED_PLATFORM depends on X86_EXTENDED_PLATFORM
...@@ -399,7 +399,7 @@ config X86_INTEL_MID ...@@ -399,7 +399,7 @@ config X86_INTEL_MID
systems which do not have the PCI legacy interfaces (Moorestown, systems which do not have the PCI legacy interfaces (Moorestown,
Medfield). If you are building for a PC class system say N here. Medfield). If you are building for a PC class system say N here.
if X86_INTEL_MID if X86_WANT_INTEL_MID
config X86_MRST config X86_MRST
bool "Moorestown MID platform" bool "Moorestown MID platform"
...@@ -411,6 +411,7 @@ config X86_MRST ...@@ -411,6 +411,7 @@ config X86_MRST
select SPI select SPI
select INTEL_SCU_IPC select INTEL_SCU_IPC
select X86_PLATFORM_DEVICES select X86_PLATFORM_DEVICES
select X86_INTEL_MID
---help--- ---help---
Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
Internet Device(MID) platform. Moorestown consists of two chips: Internet Device(MID) platform. Moorestown consists of two chips:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment