viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 1 | # |
| 2 | # SPEAr Platform configuration file |
| 3 | # |
| 4 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 5 | menuconfig PLAT_SPEAR |
| 6 | bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5 |
| 7 | default PLAT_SPEAR_SINGLE |
| 8 | select ARCH_REQUIRE_GPIOLIB |
| 9 | select ARM_AMBA |
| 10 | select CLKDEV_LOOKUP |
| 11 | select CLKSRC_MMIO |
| 12 | select COMMON_CLK |
| 13 | select GENERIC_CLOCKEVENTS |
| 14 | select HAVE_CLK |
| 15 | |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 16 | if PLAT_SPEAR |
| 17 | |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 18 | config ARCH_SPEAR13XX |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 19 | bool "ST SPEAr13xx" |
| 20 | depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE |
Viresh Kumar | f12a500 | 2013-02-06 09:44:15 +0530 | [diff] [blame] | 21 | select ARCH_HAVE_CPUFREQ |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 22 | select ARM_GIC |
| 23 | select CPU_V7 |
Shiraz Hashim | b53bc28 | 2012-11-16 10:45:25 +0530 | [diff] [blame] | 24 | select GPIO_SPEAR_SPICS |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 25 | select HAVE_SMP |
| 26 | select MIGHT_HAVE_CACHE_L2X0 |
| 27 | select PINCTRL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 28 | select USE_OF |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 29 | help |
| 30 | Supports for ARM's SPEAR13XX family |
| 31 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 32 | if ARCH_SPEAR13XX |
| 33 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 34 | config MACH_SPEAR1310 |
| 35 | bool "SPEAr1310 Machine support with Device Tree" |
| 36 | select PINCTRL_SPEAR1310 |
| 37 | help |
| 38 | Supports ST SPEAr1310 machine configured via the device-tree |
| 39 | |
| 40 | config MACH_SPEAR1340 |
| 41 | bool "SPEAr1340 Machine support with Device Tree" |
| 42 | select PINCTRL_SPEAR1340 |
| 43 | help |
| 44 | Supports ST SPEAr1340 machine configured via the device-tree |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 45 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 46 | endif #ARCH_SPEAR13XX |
| 47 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 48 | config ARCH_SPEAR3XX |
| 49 | bool "ST SPEAr3xx" |
| 50 | depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE |
| 51 | depends on !ARCH_SPEAR13XX |
| 52 | select ARM_VIC |
| 53 | select CPU_ARM926T |
| 54 | select PINCTRL |
| 55 | select USE_OF |
| 56 | help |
| 57 | Supports for ARM's SPEAR3XX family |
| 58 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 59 | if ARCH_SPEAR3XX |
| 60 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 61 | config MACH_SPEAR300 |
| 62 | bool "SPEAr300 Machine support with Device Tree" |
| 63 | select PINCTRL_SPEAR300 |
| 64 | help |
| 65 | Supports ST SPEAr300 machine configured via the device-tree |
| 66 | |
| 67 | config MACH_SPEAR310 |
| 68 | bool "SPEAr310 Machine support with Device Tree" |
| 69 | select PINCTRL_SPEAR310 |
| 70 | help |
| 71 | Supports ST SPEAr310 machine configured via the device-tree |
| 72 | |
| 73 | config MACH_SPEAR320 |
| 74 | bool "SPEAr320 Machine support with Device Tree" |
| 75 | select PINCTRL_SPEAR320 |
| 76 | help |
| 77 | Supports ST SPEAr320 machine configured via the device-tree |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 78 | |
| 79 | endif |
| 80 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 81 | config ARCH_SPEAR6XX |
| 82 | bool "ST SPEAr6XX" |
| 83 | depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE |
| 84 | depends on !ARCH_SPEAR13XX |
| 85 | select ARM_VIC |
| 86 | select CPU_ARM926T |
| 87 | help |
| 88 | Supports for ARM's SPEAR6XX family |
| 89 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 90 | config MACH_SPEAR600 |
| 91 | def_bool y |
| 92 | depends on ARCH_SPEAR6XX |
| 93 | select USE_OF |
| 94 | help |
| 95 | Supports ST SPEAr600 boards configured via the device-treesource "arch/arm/mach-spear6xx/Kconfig" |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 96 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 97 | config ARCH_SPEAR_AUTO |
| 98 | def_bool PLAT_SPEAR_SINGLE |
| 99 | depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX |
| 100 | select ARCH_SPEAR3XX |
| 101 | |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 102 | endif |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame^] | 103 | |