blob: 4c52ee2b77dc51d8654430b50815d71cc9ee5987 [file] [log] [blame]
viresh kumar986435e2010-04-01 12:30:49 +01001#
2# SPEAr Platform configuration file
3#
4
Arnd Bergmann5b65fc52012-12-06 14:51:56 +01005menuconfig 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 kumar986435e2010-04-01 12:30:49 +010016if PLAT_SPEAR
17
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053018config ARCH_SPEAR13XX
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010019 bool "ST SPEAr13xx"
20 depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
Viresh Kumarf12a5002013-02-06 09:44:15 +053021 select ARCH_HAVE_CPUFREQ
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053022 select ARM_GIC
23 select CPU_V7
Shiraz Hashimb53bc282012-11-16 10:45:25 +053024 select GPIO_SPEAR_SPICS
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053025 select HAVE_SMP
26 select MIGHT_HAVE_CACHE_L2X0
27 select PINCTRL
Russell Kingb1b3f492012-10-06 17:12:25 +010028 select USE_OF
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053029 help
30 Supports for ARM's SPEAR13XX family
31
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010032if ARCH_SPEAR13XX
33
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010034config 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
40config 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 Bergmann5b65fc52012-12-06 14:51:56 +010045
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010046endif #ARCH_SPEAR13XX
47
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010048config 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 Bergmann4b6effb2012-12-02 14:51:55 +010059if ARCH_SPEAR3XX
60
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010061config 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
67config 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
73config 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 Bergmann4b6effb2012-12-02 14:51:55 +010078
79endif
80
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010081config 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 Bergmann4b6effb2012-12-02 14:51:55 +010090config 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 kumar986435e2010-04-01 12:30:49 +010096
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010097config ARCH_SPEAR_AUTO
98 def_bool PLAT_SPEAR_SINGLE
99 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
100 select ARCH_SPEAR3XX
101
viresh kumar986435e2010-04-01 12:30:49 +0100102endif
Arnd Bergmann5b65fc52012-12-06 14:51:56 +0100103