blob: 90df2022276a75910b7563b3fa0b838fbe50398c [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
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010010 select CLKSRC_MMIO
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010011
viresh kumar986435e2010-04-01 12:30:49 +010012if PLAT_SPEAR
13
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053014config ARCH_SPEAR13XX
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010015 bool "ST SPEAr13xx"
16 depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053017 select ARM_GIC
Shiraz Hashimb53bc282012-11-16 10:45:25 +053018 select GPIO_SPEAR_SPICS
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080019 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080020 select HAVE_ARM_TWD if SMP
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053021 select PINCTRL
22 help
23 Supports for ARM's SPEAR13XX family
24
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010025if ARCH_SPEAR13XX
26
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010027config MACH_SPEAR1310
28 bool "SPEAr1310 Machine support with Device Tree"
29 select PINCTRL_SPEAR1310
30 help
31 Supports ST SPEAr1310 machine configured via the device-tree
32
33config MACH_SPEAR1340
34 bool "SPEAr1340 Machine support with Device Tree"
35 select PINCTRL_SPEAR1340
36 help
37 Supports ST SPEAr1340 machine configured via the device-tree
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010038
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010039endif #ARCH_SPEAR13XX
40
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010041config ARCH_SPEAR3XX
42 bool "ST SPEAr3xx"
43 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
44 depends on !ARCH_SPEAR13XX
45 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010046 select PINCTRL
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010047 help
48 Supports for ARM's SPEAR3XX family
49
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010050if ARCH_SPEAR3XX
51
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010052config MACH_SPEAR300
53 bool "SPEAr300 Machine support with Device Tree"
54 select PINCTRL_SPEAR300
55 help
56 Supports ST SPEAr300 machine configured via the device-tree
57
58config MACH_SPEAR310
59 bool "SPEAr310 Machine support with Device Tree"
60 select PINCTRL_SPEAR310
61 help
62 Supports ST SPEAr310 machine configured via the device-tree
63
64config MACH_SPEAR320
65 bool "SPEAr320 Machine support with Device Tree"
66 select PINCTRL_SPEAR320
67 help
68 Supports ST SPEAr320 machine configured via the device-tree
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010069
70endif
71
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010072config ARCH_SPEAR6XX
73 bool "ST SPEAr6XX"
74 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
75 depends on !ARCH_SPEAR13XX
76 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010077 help
78 Supports for ARM's SPEAR6XX family
79
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010080config MACH_SPEAR600
81 def_bool y
82 depends on ARCH_SPEAR6XX
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010083 help
Paul Bollee4556c02014-03-09 22:41:46 +010084 Supports ST SPEAr600 boards configured via the device-tree
viresh kumar986435e2010-04-01 12:30:49 +010085
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010086config ARCH_SPEAR_AUTO
87 def_bool PLAT_SPEAR_SINGLE
88 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
89 select ARCH_SPEAR3XX
90
viresh kumar986435e2010-04-01 12:30:49 +010091endif
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010092