ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos
[pandora-kernel.git] / arch / arm / mach-exynos / Kconfig
similarity index 92%
rename from arch/arm/mach-exynos4/Kconfig
rename to arch/arm/mach-exynos/Kconfig
index 51cff04..724ec0f 100644 (file)
@@ -1,4 +1,4 @@
-# arch/arm/mach-exynos4/Kconfig
+# arch/arm/mach-exynos/Kconfig
 #
 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
 #              http://www.samsung.com/
@@ -7,10 +7,27 @@
 
 # Configuration options for the EXYNOS4
 
-if ARCH_EXYNOS4
+if ARCH_EXYNOS
+
+menu "SAMSUNG EXYNOS SoCs Support"
+
+choice
+       prompt "EXYNOS System Type"
+       default ARCH_EXYNOS4
+
+config ARCH_EXYNOS4
+       bool "SAMSUNG EXYNOS4"
+       help
+         Samsung EXYNOS4 SoCs based systems
+
+endchoice
+
+comment "EXYNOS SoCs"
 
 config CPU_EXYNOS4210
-       bool
+       bool "SAMSUNG EXYNOS4210"
+       default y
+       depends on ARCH_EXYNOS4
        select SAMSUNG_DMADEV
        select ARM_CPU_SUSPEND if PM
        select S5P_PM if PM
@@ -19,15 +36,18 @@ config CPU_EXYNOS4210
          Enable EXYNOS4210 CPU support
 
 config SOC_EXYNOS4212
-       bool
-       select ARM_CPU_SUSPEND if PM
+       bool "SAMSUNG EXYNOS4212"
+       default y
+       depends on ARCH_EXYNOS4
        select S5P_PM if PM
        select S5P_SLEEP if PM
        help
          Enable EXYNOS4212 SoC support
 
 config SOC_EXYNOS4412
-       bool
+       bool "SAMSUNG EXYNOS4412"
+       default y
+       depends on ARCH_EXYNOS4
        help
          Enable EXYNOS4412 SoC support
 
@@ -125,7 +145,7 @@ config EXYNOS4_SETUP_USB_PHY
 
 # machine support
 
-menu "EXYNOS4 Machines"
+if ARCH_EXYNOS4
 
 comment "EXYNOS4210 Boards"
 
@@ -305,12 +325,11 @@ config MACH_SMDK4412
        select MACH_SMDK4212
        help
          Machine support for Samsung SMDK4412
+endif
 
-endmenu
-
-comment "Configuration for HSMMC bus width"
+if ARCH_EXYNOS4
 
-menu "Use 8-bit bus width"
+comment "Configuration for HSMMC 8-bit bus width"
 
 config EXYNOS4_SDHCI_CH0_8BIT
        bool "Channel 0 with 8-bit bus"
@@ -323,6 +342,7 @@ config EXYNOS4_SDHCI_CH2_8BIT
        help
          Support HSMMC Channel 2 8-bit bus.
          If selected, Channel 3 is disabled.
+endif
 
 endmenu