瀏覽代碼

x86, config: Introduce an INTEL_MID configuration

We need to carve up the configuration between:

 - MID general
 - Moorestown specific
 - Medfield specific
 - Future devices

As a base point create an INTEL_MID configuration property. We
make the existing MRST configuration a sub-option. This means
that the rest of the kernel config can still use X86_MRST checks
without anything going backwards.

After this is merged future patches will tidy up which devices
are MID and which are X86_MRST, as well as add options for
Medfield.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/r/20110712164859.7642.84136.stgit@bob.linux.org.uk
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Alan Cox 14 年之前
父節點
當前提交
43605ef188
共有 1 個文件被更改,包括 13 次插入2 次删除
  1. 13 2
      arch/x86/Kconfig

+ 13 - 2
arch/x86/Kconfig

@@ -384,12 +384,21 @@ 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
+	bool "Intel MID platform support"
+	depends on X86_32
+	depends on X86_EXTENDED_PLATFORM
+	---help---
+	  Select to build a kernel capable of supporting Intel MID platform
+	  systems which do not have the PCI legacy interfaces (Moorestown,
+	  Medfield). If you are building for a PC class system say N here.
+
+if X86_INTEL_MID
+
 config X86_MRST
 config X86_MRST
        bool "Moorestown MID platform"
        bool "Moorestown MID platform"
 	depends on PCI
 	depends on PCI
 	depends on PCI_GOANY
 	depends on PCI_GOANY
-	depends on X86_32
-	depends on X86_EXTENDED_PLATFORM
 	depends on X86_IO_APIC
 	depends on X86_IO_APIC
 	select APB_TIMER
 	select APB_TIMER
 	select I2C
 	select I2C
@@ -404,6 +413,8 @@ config X86_MRST
 	  nor standard legacy replacement devices/features. e.g. Moorestown does
 	  nor standard legacy replacement devices/features. e.g. Moorestown does
 	  not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
 	  not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
 
 
+endif
+
 config X86_RDC321X
 config X86_RDC321X
 	bool "RDC R-321x SoC"
 	bool "RDC R-321x SoC"
 	depends on X86_32
 	depends on X86_32