xref: /openbmc/linux/arch/arm/mach-spear/Kconfig (revision afb46f79)
1#
2# SPEAr Platform configuration file
3#
4
5menuconfig 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 CLKSRC_MMIO
11
12if PLAT_SPEAR
13
14config ARCH_SPEAR13XX
15	bool "ST SPEAr13xx"
16	depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
17	select ARCH_HAS_CPUFREQ
18	select ARM_GIC
19	select GPIO_SPEAR_SPICS
20	select HAVE_ARM_SCU if SMP
21	select HAVE_ARM_TWD if SMP
22	select PINCTRL
23	help
24	  Supports for ARM's SPEAR13XX family
25
26if ARCH_SPEAR13XX
27
28config MACH_SPEAR1310
29	bool "SPEAr1310 Machine support with Device Tree"
30	select PINCTRL_SPEAR1310
31	help
32	  Supports ST SPEAr1310 machine configured via the device-tree
33
34config MACH_SPEAR1340
35	bool "SPEAr1340 Machine support with Device Tree"
36	select PINCTRL_SPEAR1340
37	help
38	  Supports ST SPEAr1340 machine configured via the device-tree
39
40endif #ARCH_SPEAR13XX
41
42config ARCH_SPEAR3XX
43	bool "ST SPEAr3xx"
44	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
45	depends on !ARCH_SPEAR13XX
46	select ARM_VIC
47	select PINCTRL
48	help
49	  Supports for ARM's SPEAR3XX family
50
51if ARCH_SPEAR3XX
52
53config MACH_SPEAR300
54	bool "SPEAr300 Machine support with Device Tree"
55	select PINCTRL_SPEAR300
56	help
57	  Supports ST SPEAr300 machine configured via the device-tree
58
59config MACH_SPEAR310
60	bool "SPEAr310 Machine support with Device Tree"
61	select PINCTRL_SPEAR310
62	help
63	  Supports ST SPEAr310 machine configured via the device-tree
64
65config MACH_SPEAR320
66	bool "SPEAr320 Machine support with Device Tree"
67	select PINCTRL_SPEAR320
68	help
69	  Supports ST SPEAr320 machine configured via the device-tree
70
71endif
72
73config ARCH_SPEAR6XX
74	bool "ST SPEAr6XX"
75	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
76	depends on !ARCH_SPEAR13XX
77	select ARM_VIC
78	help
79	  Supports for ARM's SPEAR6XX family
80
81config MACH_SPEAR600
82	def_bool y
83	depends on ARCH_SPEAR6XX
84	help
85	  Supports ST SPEAr600 boards configured via the device-tree
86
87config ARCH_SPEAR_AUTO
88	def_bool PLAT_SPEAR_SINGLE
89	depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
90	select ARCH_SPEAR3XX
91
92endif
93
94