diff mbox

[v2,4/4] x86: intel-mid: remove deprecated X86_MDFLD and X86_WANT_INTEL_MID configs

Message ID 1387224459-25746-5-git-send-email-david.a.cohen@linux.intel.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

David Cohen Dec. 16, 2013, 8:07 p.m. UTC
We want to support all Intel Mid platforms with a single config
selection. This patch removes deprecated CONFIG_X86_MDFLD and
X86_WANT_INTEL_MID options in favor of having CONFIG_X86_INTEL_MID only.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
---
 arch/x86/Kconfig | 29 +++++------------------------
 1 file changed, 5 insertions(+), 24 deletions(-)

Comments

Bjorn Helgaas Dec. 16, 2013, 8:47 p.m. UTC | #1
On Mon, Dec 16, 2013 at 1:07 PM, David Cohen
<david.a.cohen@linux.intel.com> wrote:
> We want to support all Intel Mid platforms with a single config
> selection. This patch removes deprecated CONFIG_X86_MDFLD and
> X86_WANT_INTEL_MID options in favor of having CONFIG_X86_INTEL_MID only.
>
> Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
> ---
>  arch/x86/Kconfig | 29 +++++------------------------
>  1 file changed, 5 insertions(+), 24 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index e903c71f7e69..b6a344fb01ae 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -437,42 +437,23 @@ config X86_INTEL_CE
>           This option compiles in support for the CE4100 SOC for settop
>           boxes and media devices.
>
> -config X86_WANT_INTEL_MID
> +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_WANT_INTEL_MID
> -
> -config X86_INTEL_MID
> -       bool
> -
> -config X86_MDFLD
> -       bool "Medfield MID platform"
>         depends on PCI
>         depends on PCI_GOANY
>         depends on X86_IO_APIC
> -       select X86_INTEL_MID
>         select SFI
> +       select I2C
>         select DW_APB_TIMER
>         select APB_TIMER
> -       select I2C
> -       select SPI
>         select INTEL_SCU_IPC
> -       select X86_PLATFORM_DEVICES
>         select MFD_INTEL_MSIC
>         ---help---
> -         Medfield is Intel's Low Power Intel Architecture (LPIA) based Moblin
> -         Internet Device(MID) platform.
> -         Unlike standard x86 PCs, Medfield does not have many legacy devices
> -         nor standard legacy replacement devices/features. e.g. Medfield does
> -         not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
> -
> -endif
> +         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.

It'd be nice to know what "MID" means -- from Googling, I guess
"Mobile Internet Device."

>  config X86_INTEL_LPSS
>         bool "Intel Low Power Subsystem Support"
> --
> 1.8.4.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Cohen Dec. 16, 2013, 9:31 p.m. UTC | #2
Hi, Bjorn,

[snip]

> It'd be nice to know what "MID" means -- from Googling, I guess
> "Mobile Internet Device."

Yes, that's correct. Wikipedia explains it:
http://en.wikipedia.org/wiki/Mobile_Internet_device

I'll prepare a patch adding intel mid to Documentation/ as soon as I have
time for it.

Br, David Cohen

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e903c71f7e69..b6a344fb01ae 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -437,42 +437,23 @@  config X86_INTEL_CE
 	  This option compiles in support for the CE4100 SOC for settop
 	  boxes and media devices.
 
-config X86_WANT_INTEL_MID
+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_WANT_INTEL_MID
-
-config X86_INTEL_MID
-	bool
-
-config X86_MDFLD
-       bool "Medfield MID platform"
 	depends on PCI
 	depends on PCI_GOANY
 	depends on X86_IO_APIC
-	select X86_INTEL_MID
 	select SFI
+	select I2C
 	select DW_APB_TIMER
 	select APB_TIMER
-	select I2C
-	select SPI
 	select INTEL_SCU_IPC
-	select X86_PLATFORM_DEVICES
 	select MFD_INTEL_MSIC
 	---help---
-	  Medfield is Intel's Low Power Intel Architecture (LPIA) based Moblin
-	  Internet Device(MID) platform. 
-	  Unlike standard x86 PCs, Medfield does not have many legacy devices
-	  nor standard legacy replacement devices/features. e.g. Medfield does
-	  not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
-
-endif
+	  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.
 
 config X86_INTEL_LPSS
 	bool "Intel Low Power Subsystem Support"