Merge tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / arch / arm / mach-shmobile / Kconfig
index 1a517e2fe44900d7ca8e70a79f185a5d49aba21d..65e1547678b07ec08f6ffc43c2187fd3fc2855cb 100644 (file)
@@ -36,10 +36,13 @@ config ARCH_R8A7740
        select RENESAS_INTC_IRQPIN
 
 config ARCH_R8A7778
-       bool "R-Car M1 (R8A77780)"
+       bool "R-Car M1A (R8A77781)"
+       select ARCH_WANT_OPTIONAL_GPIOLIB
        select CPU_V7
        select SH_CLK_CPG
        select ARM_GIC
+       select USB_ARCH_HAS_EHCI
+       select USB_ARCH_HAS_OHCI
 
 config ARCH_R8A7779
        bool "R-Car H1 (R8A77790)"
@@ -68,27 +71,6 @@ config ARCH_EMEV2
 
 comment "SH-Mobile Board Type"
 
-config MACH_AP4EVB
-       bool "AP4EVB board"
-       depends on ARCH_SH7372
-       select ARCH_REQUIRE_GPIOLIB
-       select REGULATOR_FIXED_VOLTAGE if REGULATOR
-       select SH_LCD_MIPI_DSI
-       select SND_SOC_AK4642 if SND_SIMPLE_CARD
-
-choice
-       prompt "AP4EVB LCD panel selection"
-       default AP4EVB_QHD
-       depends on MACH_AP4EVB
-
-config AP4EVB_QHD
-       bool "MIPI-DSI QHD (960x540)"
-
-config AP4EVB_WVGA
-       bool "Parallel WVGA (800x480)"
-
-endchoice
-
 config MACH_AG5EVM
        bool "AG5EVM board"
        depends on ARCH_SH73A0
@@ -115,12 +97,6 @@ config MACH_KOTA2
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
 
-config MACH_BONITO
-       bool "bonito board"
-       depends on ARCH_R8A7740
-       select ARCH_REQUIRE_GPIOLIB
-       select REGULATOR_FIXED_VOLTAGE if REGULATOR
-
 config MACH_ARMADILLO800EVA
        bool "Armadillo-800 EVA board"
        depends on ARCH_R8A7740
@@ -169,6 +145,8 @@ config MACH_KZM9D
 config MACH_KZM9G
        bool "KZM-A9-GT board"
        depends on ARCH_SH73A0
+       select ARCH_HAS_CPUFREQ
+       select ARCH_HAS_OPP
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
        select SND_SOC_AK4642 if SND_SIMPLE_CARD
@@ -194,37 +172,6 @@ config CPU_HAS_INTEVT
         bool
        default y
 
-menu "Memory configuration"
-
-config MEMORY_START
-       hex "Physical memory start address"
-       default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
-                               MACH_MACKEREL || MACH_BONITO || \
-                               MACH_ARMADILLO800EVA || MACH_APE6EVM || \
-                               MACH_LAGER
-       default "0x41000000" if MACH_KOTA2
-       default "0x00000000"
-       ---help---
-         Tweak this only when porting to a new machine which does not
-         already have a defconfig. Changing it from the known correct
-         value on any of the known systems will only lead to disaster.
-
-config MEMORY_SIZE
-       hex "Physical memory size"
-       default "0x80000000" if MACH_LAGER
-       default "0x40000000" if MACH_APE6EVM
-       default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
-                               MACH_ARMADILLO800EVA
-       default "0x1e000000" if MACH_KOTA2
-       default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
-       default "0x04000000"
-       help
-         This sets the default memory size assumed by your kernel. It can
-         be overridden as normal by the 'mem=' argument on the kernel command
-         line.
-
-endmenu
-
 menu "Timer and clock configuration"
 
 config SHMOBILE_TIMER_HZ